FASTLY, INC., 10-K filed on 3/1/2021
Annual Report
v3.20.4
Cover Page - USD ($)
shares in Millions, $ in Billions
12 Months Ended
Dec. 31, 2020
Feb. 12, 2021
Jun. 30, 2020
Entity Information [Line Items]      
Document Type 10-K    
Document Annual Report true    
Document Period End Date Dec. 31, 2020    
Current Fiscal Year End Date --12-31    
Document Transition Report false    
Entity File Number 001-38897    
Entity Registrant Name FASTLY, INC.    
Entity Central Index Key 0001517413    
Document Fiscal Year Focus 2020    
Document Fiscal Period Focus FY    
Amendment Flag false    
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 27-5411834    
Entity Address, Address Line One 475 Brannan Street, Suite 300    
Entity Address, City or Town San Francisco    
Entity Address, State or Province CA    
Entity Address, Postal Zip Code 94107    
City Area Code 844    
Local Phone Number 432-7859    
Title of 12(b) Security Class A Common Stock, $0.00002 par value    
Trading Symbol FSLY    
Security Exchange Name NYSE    
Entity Well-known Seasoned Issuer Yes    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Large Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Entity Shell Company false    
Entity Public Float     $ 6.7
Documents Incorporated by Reference Portions of the registrant’s Definitive Proxy Statement relating to the 2020 Annual Meeting of Stockholders are incorporated by reference into Part III of this Annual Report on Form 10-K where indicated. Such Definitive Proxy Statement will be filed with the Securities and Exchange Commission within 120 days after the end of the registrant’s fiscal year ended December 31, 2020.    
Common Class A      
Entity Information [Line Items]      
Entity Common Stock, Shares Outstanding   104.3  
Common Class B      
Entity Information [Line Items]      
Entity Common Stock, Shares Outstanding   10.3  
v3.20.4
CONSOLIDATED BALANCE SHEETS - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Current assets:    
Cash and cash equivalents $ 62,900 $ 16,142
Marketable securities 131,283 114,967
Accounts receivable, net of allowance for credit losses of $3,248 and allowance for doubtful accounts of $1,816 as of December 31, 2020 and December 31, 2019, respectively 50,258 37,136
Restricted cash 87 70,087
Prepaid expenses and other current assets 16,728 10,991
Total current assets 261,256 249,323
Property and equipment, net 95,979 60,037
Operating lease right-of-use assets, net 60,019 0
Goodwill 635,590 372
Intangible assets, net 121,742 1,125
Other assets 45,365 10,112
Total assets 1,219,951 320,969
Current liabilities:    
Accounts payable 9,150 4,602
Accrued expenses 34,334 19,878
Finance lease liabilities 11,033 4,472
Operating lease liabilities, current 19,895 0
Other current liabilities 19,677 8,169
Total current liabilities 94,089 37,121
Long-term debt, less current portion 0 20,081
Finance lease liabilities, noncurrent 14,707 5,077
Operating lease liabilities, noncurrent 44,890 0
Other long-term liabilities 4,400 1,038
Total liabilities 158,086 63,317
Commitments and contingencies (Note 10)
Stockholders’ equity:    
Class A and Class B common stock, $0.00002 par value; 1,094,129,050 and 1,094,129,050 shares authorized as of December 31, 2020 and 2019, respectively; 113,623,196 and 94,817,715 shares issued and outstanding at December 31, 2020 and 2019, respectively 2 2
Additional paid-in capital 1,350,050 449,463
Accumulated other comprehensive income 6 196
Accumulated deficit (288,193) (192,009)
Total stockholders’ equity 1,061,865 257,652
Total liabilities and stockholders’ equity $ 1,219,951 $ 320,969
v3.20.4
CONSOLIDATED BALANCE SHEETS (Parenthetical) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Statement of Financial Position [Abstract]      
Allowance for doubtful accounts $ 3,248 $ 1,816 $ 1,679
Common stock, par value (in dollars per share) $ 0.00002 $ 0.00002  
Common stock, shares authorized (in shares) 1,094,129,050 1,094,129,050  
Common stock, shares issued (in shares) 113,623,196 94,817,715  
Common stock, shares outstanding (in shares) 113,623,196 94,817,715  
v3.20.4
CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Income Statement [Abstract]      
Revenue $ 290,874 $ 200,462 $ 144,563
Cost of revenue 120,007 88,322 65,499
Gross profit 170,867 112,140 79,064
Operating expenses:      
Research and development 74,814 46,492 34,618
Sales and marketing 101,181 71,097 50,134
General and administrative 102,084 41,099 23,450
Total operating expenses 278,079 158,688 108,202
Loss from operations (107,212) (46,548) (29,138)
Interest income 1,628 3,287 939
Interest expense (1,549) (5,236) (1,810)
Other income (expense), net (279) (2,561) (741)
Loss before income tax expense (benefit) (107,412) (51,058) (30,750)
Income tax expense (benefit) (11,480) 492 185
Net loss $ (95,932) $ (51,550) $ (30,935)
Net loss per share attributable to common stockholders, basic and diluted (USD per share) $ (0.93) $ (0.75) $ (1.27)
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares) 103,552 68,350 24,376
v3.20.4
CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Statement of Other Comprehensive Income [Abstract]      
Net loss $ (95,932) $ (51,550) $ (30,935)
Other comprehensive (loss) income:      
Foreign currency translation adjustment (135) 111 (1)
Gain (loss) on investments in available-for-sale-securities (55) 121 (11)
Total other comprehensive income (loss) (190) 232 (12)
Comprehensive loss $ (96,122) $ (51,318) $ (30,947)
v3.20.4
CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS’ EQUITY (DEFICIT) - USD ($)
$ in Thousands
Total
Cumulative Effect, Period of Adoption, Adjustment
Conversion of convertible preferred stock to Class B common stock
Common Class B
Convertible Preferred Shares
Common Stock
Common Class A
Common Stock
Common Class A
Conversion of Class B common stock to Class A common stock
Common Stock
Common Class B
Common Stock
Common Class B
Conversion of convertible preferred stock to Class B common stock
Common Stock
Common Class B
Conversion of Class B common stock to Class A common stock
Additional Paid-in Capital
Additional Paid-in Capital
Conversion of convertible preferred stock to Class B common stock
Treasury Stock
Accumulated Other Comprehensive Income (Loss)
Accumulated Deficit
Accumulated Deficit
Cumulative Effect, Period of Adoption, Adjustment
Convertible Preferred Stock, beginning balance (in shares) at Dec. 31, 2017         49,718,084                      
Convertible Preferred Stock, beginning balance at Dec. 31, 2017         $ 179,705                      
Increase (Decrease) in Temporary Equity [Roll Forward]                                
Issuance of Series F Preferred Stock, net of issuance costs of $121 (in shares)         3,912,129                      
Issuance of Series F Preferred Stock, net of issuance costs of $121         $ 39,879                      
Convertible Preferred Stock, ending balance (in shares) at Dec. 31, 2018         53,630,213                      
Convertible Preferred Stock, ending balance at Dec. 31, 2018         $ 219,584                      
Beginning balance (in shares) at Dec. 31, 2017           0   23,879,074                
Beginning balance at Dec. 31, 2017 $ (107,006)         $ 0   $ 1     $ 10,377   $ (2,109) $ (24) $ (115,251)  
Increase (Decrease) in Stockholders' Equity [Roll Forward]                                
Exercise of stock options (in shares) 1,264,000             1,005,839                
Exercise of stock options $ 1,561                   1,561          
Vesting of early exercised stock options (in shares)               119,737                
Vesting of early exercised stock options 337                   337          
Issuance of common stock under (ESPP in shares)           0                    
Stock-based compensation 4,079                   4,079          
Repayment of stockholder note (in shares)               21,186                
Repayment of stockholder note 50                   50          
Net loss (30,935)                           (30,935)  
Other comprehensive income (loss) (12)                         (12)    
Ending balance (in shares) at Dec. 31, 2018           0   25,025,836                
Ending balance at Dec. 31, 2018 $ (131,927) $ 5,727       $ 0   $ 1     16,403   (2,109) (36) (146,186) $ 5,727
Increase (Decrease) in Temporary Equity [Roll Forward]                                
Conversion of convertible preferred stock to Class B common stock (in shares)         (53,630,213)                      
Conversion of convertible preferred stock to Class B common stock         $ (219,584)                      
Convertible Preferred Stock, ending balance (in shares) at Dec. 31, 2019 0       0                      
Convertible Preferred Stock, ending balance at Dec. 31, 2019         $ 0                      
Increase (Decrease) in Stockholders' Equity [Roll Forward]                                
Conversion of stock (in shares)       224,102     46,422,400   53,630,213 46,422,400            
Conversion of stock     $ 219,584       $ 1   $ 1 $ (1)   $ 219,583        
Conversion of convertible preferred stock warrants into Class B common stock warrants $ 5,665                   5,665          
Issuance of Class A common stock, net of underwriting discounts (in shares)           12,937,500                    
Issuance of Class A common stock, net of underwriting discounts $ 186,912                   186,912          
Exercise of stock options (in shares) 2,650,000         1,289,600   1,211,230                
Exercise of stock options $ 5,579                   5,579          
Exercise of common stock warrants (in shares)               224,102                
Vesting of early exercised stock options (in shares)               162,101                
Vesting of early exercised stock options 620                   620          
Issuance of common stock under (ESPP in shares)           305,194                    
Issuance of common stock under ESPP 4,150                   4,150          
Stock-based compensation 12,586                   12,586          
Repayment of stockholder note (in shares)               31,939                
Repayment of stockholder note 74                   74          
Retirement of treasury stock                     (2,109)   2,109      
Net loss (51,550)                           (51,550)  
Other comprehensive income (loss) 232                         232    
Ending balance (in shares) at Dec. 31, 2019           60,954,694   33,863,021                
Ending balance at Dec. 31, 2019 $ 257,652 $ (252)       $ 1   $ 1     449,463   $ 0 196 (192,009) $ (252)
Convertible Preferred Stock, ending balance (in shares) at Dec. 31, 2020 0                              
Increase (Decrease) in Stockholders' Equity [Roll Forward]                                
Conversion of stock (in shares)       144,635     23,887,874     23,887,874            
Conversion of stock             $ 0     $ 0            
Issuance of Class A common stock, net of underwriting discounts (in shares)           6,900,000                    
Issuance of Class A common stock, net of underwriting discounts $ 274,177                   274,177          
Shares issued related to a business combination (in shares)           6,367,709                    
Shares issued related to a business combination 622,595                   622,595          
Restriction of stock awards (in shares)           (896,499)                    
Restriction of stock awards $ (87,714)                   (87,714)          
Vesting of restricted stock awards (in shares) 112,062                              
Exercise of stock options (in shares) 4,360,000         4,360,205   0                
Exercise of stock options $ 15,273         $ 0         15,273          
Exercise of common stock warrants (in shares)               144,635                
Vesting of early exercised stock options (in shares)               108,918                
Vesting of early exercised stock options 467                   467          
Vesting of restricted stock units (in shares)           1,377,239                    
Issuance of common stock under (ESPP in shares)           331,212                    
Issuance of common stock under ESPP 8,193                   8,193          
Stock-based compensation 66,467                   66,467          
Net loss (95,932)                           (95,932)  
Other comprehensive income (loss) (190)                         (190)    
Ending balance (in shares) at Dec. 31, 2020           103,394,496   10,228,700                
Ending balance at Dec. 31, 2020 $ 1,061,865         $ 1   $ 1     $ 1,350,050     $ 6 $ (288,193)  
v3.20.4
CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS’ EQUITY (DEFICIT) (Parenthetical)
$ in Thousands
12 Months Ended
Dec. 31, 2018
USD ($)
Statement of Stockholders' Equity [Abstract]  
Stock issuance costs $ 121
v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Cash flows from operating activities:      
Net loss $ (95,932,000) $ (51,550,000) $ (30,935,000)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 19,979,000 16,553,000 13,400,000
Amortization of acquired intangibles 5,078,000 0 0
Amortization of right-of-use assets and other 21,765,000 0 0
Amortization of deferred rent 0 (711,000) (340,000)
Amortization of debt issuance costs 219,000 1,909,000 0
Amortization of deferred contract costs 3,516,000 2,294,000 0
Stock-based compensation 64,433,000 12,145,000 4,079,000
Provision for credit losses and doubtful accounts 1,719,000 360,000 599,000
Change in fair value of preferred stock warrant liabilities 0 2,404,000 606,000
Other adjustments 624,000 (591,000) (354,000)
Interest paid on capital leases (688,000) (364,000) (203,000)
Loss on disposals of property and equipment 653,000 108,000 0
Tax benefit related to release of valuation allowance (12,950,000) 0 0
Changes in operating assets and liabilities:      
Accounts receivable (9,264,000) (12,767,000) (6,234,000)
Prepaid expenses and other current assets (5,550,000) (2,666,000) (2,325,000)
Other assets (17,162,000) (3,945,000) 10,000
Accounts payable 4,059,000 2,391,000 (372,000)
Accrued expenses 12,992,000 4,401,000 3,902,000
Operating lease liabilities (18,264,000) 0 0
Other liabilities 4,857,000 (1,274,000) 1,182,000
Net cash used in operating activities (19,916,000) (31,303,000) (16,985,000)
Cash flows from investing activities:      
Purchases of marketable securities (269,059,000) (190,980,000) (62,660,000)
Sales of marketable securities 143,241,000 52,589,000 0
Maturities of marketable securities 88,719,000 70,813,000 35,210,000
Acquisition of business, net of cash acquired (200,988,000) 0 0
Proceeds from sale of property and equipment 575,000 0 0
Purchases of property and equipment (29,569,000) (14,609,000) (16,702,000)
Capitalized internal-use software (6,131,000) (4,856,000) (2,955,000)
Purchases of intangible assets (1,811,000) (635,000) 0
Net cash used in investing activities (275,023,000) (87,678,000) (47,107,000)
Cash flows from financing activities:      
Proceeds from initial public offering, net of underwriting fees 0 192,510,000 0
Proceeds from follow-on public offering, net of underwriting fees 274,896,000 0 0
Proceeds from borrowings under notes payable 0 20,300,000 29,411,000
Payments of debt issuance costs 0 (231,000) (257,000)
Repayments of notes payable (20,300,000) (49,167,000) (833,000)
Repayments of finance lease liabilities (5,773,000) (1,370,000) (1,215,000)
Proceeds from Series F financing 0 0 40,000,000
Proceeds from Employee Stock Purchase Plan 9,318,000 5,402,000 0
Proceeds from exercise of vested stock options 15,273,000 5,579,000 1,561,000
Proceeds from early exercise of stock options 0 520,000 1,054,000
Proceeds from payment of stockholder note 0 74,000 50,000
Repurchase of early exercised shares 0 0 (13,000)
Net cash provided by financing activities 272,739,000 168,148,000 69,637,000
Effects of exchange rate changes on cash, cash equivalents, and restricted cash (149,000) 99,000 22,000
Net increase (decrease) in cash, cash equivalents, and restricted cash (22,349,000) 49,266,000 5,567,000
Cash, cash equivalents, and restricted cash at beginning of period 86,229,000 36,963,000 31,396,000
Cash, cash equivalents, and restricted cash at end of period 63,880,000 86,229,000 36,963,000
Supplemental disclosure of cash flow information:      
Cash paid for interest 1,590,000 5,422,000 1,833,000
Cash paid for income taxes, net of refunds received 1,219,000 361,000 55,000
Property and equipment additions not yet paid in cash 3,184,000 7,071,000 133,000
Vesting of early-exercised stock options 467,000 620,000 337,000
Capital lease outstanding from current year addition 0 7,380,000 429,000
Warrant issued in connection with debt 0 0 1,639,000
Change in other assets from change in accounting principle 0 5,727,000 0
Conversion of convertible preferred stock warrants to convertible common stock warrants 0 5,665,000 0
Cashless exercise of common stock warrants 1,557,000 1,036,000 0
Costs related to initial public offering, accrued but not yet paid 0 130,000 0
Stock-based compensation capitalized to internal-use software 2,034,000 441,000 0
Assets obtained in exchange for operating lease obligations 23,827,000 0 0
Assets obtained in exchange for finance lease obligations 22,541,000 0 0
Value of common stock issued and stock awards assumed in a business combination 536,432,000 0 0
Reconciliation of cash, cash equivalents, and restricted cash as shown in the statements of cash flows      
Total cash, cash equivalents, and restricted cash 86,229,000 86,229,000 31,396,000
IPO      
Cash flows from financing activities:      
Payments of issuance costs 0 (5,469,000) 0
Convertible Preferred Stock      
Cash flows from financing activities:      
Payments of issuance costs 0 0 (121,000)
Secondary Public Offering      
Cash flows from financing activities:      
Payments of issuance costs $ (675,000) $ 0 $ 0
v3.20.4
Nature of Business
12 Months Ended
Dec. 31, 2020
Organization, Consolidation and Presentation of Financial Statements [Abstract]  
Nature of Business Nature of Business
Fastly, Inc. has built an edge cloud platform that can process, serve, and secure its customer’s applications as close to their end users as possible. Our edge network spans across 56 markets, as of December 31, 2020. We were incorporated in Delaware in 2011 and are headquartered in San Francisco, California.
As used herein, "Fastly," "we," "our," "the Company," and similar terms include Fastly, Inc. and its subsidiaries, unless the context indicates otherwise.
Stock Split
On May 3, 2019, we implemented a 1-for-2 reverse stock split of our stock. All shares of common stock, stock-based instruments, and per-share data included in these financial statements give effect to the stock split and the changes in authorized shares have been adjusted retroactively for all periods presented.
Initial Public Offering ("IPO")
On May 21, 2019 we completed an IPO in which we sold 12,937,500 shares of our newly authorized Class A common stock, which included 1,687,500 shares sold pursuant to the exercise by the underwriters of an option to purchase additional shares, at the public offering price of $16.00 per share. We received net proceeds of $192.5 million, after deducting underwriting discounts and commissions, from sales of our shares in the IPO. The net proceeds include additional proceeds of $25.1 million, net of underwriters' discounts and commissions, from the exercise of the underwriters' option to purchase an additional 1,687,500 shares of our Class A common stock. Prior to the closing of the IPO, all shares of common stock then outstanding were reclassified as Class B common stock.
Immediately upon the closing of the IPO, all shares of convertible preferred stock then outstanding were converted into 53,630,213 shares of Class B common stock on a one-to-one basis. Prior to the IPO, we had seven outstanding series of convertible preferred stock each with a par value of $0.00002 per share, convertible at the option of the holder, that was classified as temporary equity on our consolidated balance sheet. On May 17, 2019, immediately upon closing of the IPO, our convertible preferred stock was automatically converted to shares of our Class B common stock. As of both December 31, 2019 and 2020, we had zero convertible preferred stock issued or outstanding.
Follow-on Public Offering
On May 26, 2020, we completed a follow-on public offering in which we sold 6,900,000 shares of Class A common stock, which included 900,000 shares sold pursuant to the exercise by the underwriters of an option to purchase additional shares, at the public offering price of $41.50 per share. We received net proceeds of $274.9 million, after deducting underwriting discounts and commissions, from sales of our shares in the public offering.
v3.20.4
Summary of Significant Accounting Policies
12 Months Ended
Dec. 31, 2020
Accounting Policies [Abstract]  
Summary of Significant Accounting Policies Summary of Significant Accounting Policies
Basis of Presentation
The consolidated financial statements have been prepared in accordance with United States generally accepted accounting principles ("U.S. GAAP").
Certain changes in presentation have been made to conform the prior period presentation to the current period reporting. Such reclassifications did not affect total revenues, operating income, or net income. We have made certain presentation changes to distinguish and disclose as a separate line item, the non-cash amortization expense of our deferred contract costs balance from other assets within operating cash flows in the Consolidated Statements of Cash Flows. With the adoption of the new leasing standard Accounting Standards Codification No. 842, Leases ("ASC 842"), we have also made certain presentation changes to distinguish and disclose as separate line items, our current and noncurrent finance leases liabilities from our current and noncurrent debt amounts in the Consolidated Balance Sheets.
Principles of Consolidation
The accompanying consolidated financial statements include the accounts of the Company and its wholly-owned subsidiaries. All intercompany transactions and balances have been eliminated in consolidation.
Use of Estimates
The preparation of our consolidated financial statements requires us to make estimates, judgments, and assumptions that affect the reported amounts of assets, liabilities, revenue, costs and expenses, and related disclosures. Actual results and outcomes could differ significantly from our estimates, judgments, and assumptions. Significant estimates, judgments, and assumptions used in these financial statements include, but are not limited to, those related to revenue, accounts receivable and related reserves, fair value of assets acquired and liabilities assumed for business combinations, useful lives and realizability of long-lived assets, income tax reserves, and accounting for stock-based compensation. Estimates are periodically reviewed in light of changes in circumstances, facts, and experience. The effects of material revisions in estimates are reflected in the consolidated financial statements in the period of change and prospectively from the date of the change in estimate.
The ongoing global COVID-19 pandemic has impacted many operational aspects of our business and may continue to do so in the future. We assessed the impact that COVID-19 had on our results of operations, including, but not limited to an assessment of our allowance for doubtful accounts, the carrying value of short-term and long-term investments, the carrying value of goodwill and other long-lived assets, and the impact to revenue recognition and cost of revenues. While the COVID-19 pandemic has not had a material adverse impact on our financial operations to date, the future impacts of the pandemic and any resulting economic impact are largely unknown and rapidly evolving. We will continue to actively monitor the impact that COVID-19 has on the results of our business operations, and may make decisions required by federal, state or local authorities, or that are determined to be in the best interests of our employees, customers, partners, suppliers and stockholders. As a result, our estimates and judgments may change materially as new events occur or additional information becomes available to us.
Cash, Cash Equivalents and Marketable Securities
We invest our excess cash primarily in short-term fixed income securities, including government and investment-grade debt securities and money market funds. We classify all liquid investments with stated maturities of three months or less from date of purchase as cash equivalents. Marketable securities with original maturities greater than three months from purchase date and remaining maturities less than one year are classified as short-term marketable securities. Marketable securities with remaining maturities greater than one year as of the balance sheet date and which we intend to hold for greater than one year, are classified as long-term marketable securities. The fair market value of cash equivalents at December 31, 2020 and 2019 approximated their carrying value. Cost of securities sold is based on specific identification. We determine the appropriate classification of our investments in marketable securities at the time of purchase and reevaluate such designation at each balance sheet date. We have classified and accounted for our marketable securities as available-for-sale. After considering our capital preservation objectives, as well as our liquidity requirements, we may sell securities prior to their stated maturities. We carry our available-for-sale securities at fair value, and report the unrealized gains and losses as a component of other comprehensive loss, except for unrealized losses determined to be other-than-temporary which are recorded as other expense, net. We determine any realized gains or losses on the sale of marketable securities on a specific identification method and record such gains and losses as a component of other expense, net. Interest earned on cash, cash equivalents, and marketable securities was approximately $1.4 million and $3.1 million during the years ended December 31, 2020 and 2019, respectively. These balances are recorded in interest income in the accompanying Consolidated Statement of Operations and Comprehensive Loss.
We evaluate the investments periodically for possible other-than-temporary impairment. A decline in fair value below the amortized costs of debt securities is considered an other-than-temporary impairment if we have the intent to sell the security or it is more likely than not that we will be required to sell the security before recovery of the entire amortized cost basis. In those instances, an impairment charge equal to the difference between the fair value and the amortized cost basis is recognized in other expense. Regardless of our intent or requirement to sell a debt security, impairment is considered other-than-temporary if we do not expect to recover the entire amortized cost basis.
Restricted Cash
As of December 31, 2019, we had recorded a restricted cash balance of approximately $70.1 million on the accompanying Consolidated Balance Sheet. This restricted cash balance primarily consisted of cash deposited and held in money market funds as collateral underlying the Cash Collateralized Revolving Credit Agreement ("Revolving Credit Agreement") entered into on November 4, 2019. Interest income earned on restricted cash was approximately $0.2 million and $0.1 million during the years ended December 31, 2020 and 2019, respectively. These balances were recorded in interest income in the accompanying Consolidated Statement of Operations and Comprehensive Loss. In November 2020, we terminated the Revolving Credit Agreement in accordance with its terms. In connection with the termination of the Revolving Credit Agreement, we repaid the then outstanding aggregate principal amount and the associated restrictions on the collateralized cash of $70.0 million was also released, accordingly.
As of December 31, 2020, our remaining restricted cash balance was $1.0 million, of which $0.9 million consists of letters of credit related to its lease arrangements that is collateralized by restricted cash which is classified under other assets.
Accounts Receivable, net
Accounts receivable are recorded and carried at the original invoiced amount less an allowance for any potential uncollectible amounts. We determine our trade accounts receivable allowances in line with the current expected credit losses model, based upon the assessment of various factors, such as: historical experience, credit quality of our customers, age of the accounts receivable balances, geographic related risks, economic conditions, and other factors that may affect a customer's ability to pay. Increases and decreases in the allowance for doubtful accounts are included as a component of General and administrative expense in the Consolidated Statements of Operations and Comprehensive Loss. We do not have any off-balance sheet credit exposure related to our customers.
Incremental Costs to Obtain a Contract with a Customer
We capitalize incremental costs associated with obtaining customer contracts, specifically certain commission payments. We pay commissions based on contract value upon signing a new arrangement with a customer and upon renewal and upgrades of existing contracts with customers only if the renewal and upgrades result in an incremental increase in contract value. To the extent that renewals and upgrades do not result in an increase in contract value, no additional commissions are paid. These costs are deferred on our Consolidated Balance Sheets and amortized over the expected period of benefit on a straight-line basis. We also incur commission expense on an ongoing basis based upon revenue recognized. In these cases, no incremental costs are deferred, as the commissions are earned and expensed in the same period for which the associated revenue is recognized. Based on the nature of our unique technology and services, and the rate at which we continually enhance and update our technology, the expected life of the customer arrangement is determined to be approximately five years. Commissions for new arrangements and renewals are both amortized over five years. Amortization is primarily included in sales and marketing
expense in the consolidated statements of income. The current portion of deferred commission and incentive payments is included in prepaid expenses and other current assets, and the long-term portion is included in other assets on our Consolidated Balance Sheets.

Concentrations of Credit Risk
Financial instruments that potentially subject us to significant concentration of credit risk consist primarily of cash, cash equivalents, marketable securities, and accounts receivable. The primary focus of our investment strategy is to preserve capital and meet liquidity requirements. Our investment policy addresses the level of credit exposure by limiting the concentration in any one corporate issuer or sector and establishing a minimum allowable credit rating. To manage the risk exposure, we invest cash equivalents and marketable securities in a variety of fixed income securities, including government and investment-grade debt securities and money market funds. We place our cash primarily in checking and money market accounts with reputable financial institutions. Deposits held with these financial institutions may exceed the amount of insurance provided on such deposits, if any.
Concentrations of credit risk with respect to accounts receivable are primarily limited to certain customers to which we make substantial sales. Our customer base consists of a large number of geographically dispersed customers diversified across several industries. To reduce risk, we routinely assess the financial strength of our customers. Based on such assessments, we believe that our accounts receivable credit risk exposure is limited. No customer accounted for more than 10% of revenue for
the years ended December 31, 2020 and 2019. One customer accounted for 10% of the total accounts receivable balance as of December 31, 2020. No customer accounted for more than 10% of the total accounts receivable balance as of December 31, 2019.
Fair Value of Financial Instruments
Our financial instruments consist of cash and cash equivalents, marketable securities, accounts receivable, accounts payable, accrued expenses and debt. Cash equivalents and marketable securities, accounts receivable, accounts payable, and accrued expenses are stated at their carrying value, which approximates fair value due to the short time to the expected receipt or payment date. The carrying amount of our debt approximates fair value as the stated interest rate approximates market rates currently available to us.
Property and Equipment
Property and equipment are stated at cost less accumulated depreciation and amortization. Depreciation and amortization are computed on a straight-line basis over the estimated useful lives of the assets. The estimated useful life of each asset category is as follows:
Computer and networking equipment
3-5 years
Leasehold improvements
Shorter of lease term or 5 years
Furniture and fixtures3 years
Office equipment3 years
Internal-use software3 years
We periodically review the estimated useful lives of property and equipment and any changes to the estimated useful lives are recorded prospectively from the date of the change.
Upon retirement or sale, the cost of the assets disposed of and the related accumulated depreciation are removed from the accounts, and any resulting gain or loss is included in other expense, net in the Consolidated Statements of Operations. Repairs and maintenance costs are expensed as incurred.
Internal-Use Software Development Costs
Labor and related costs associated with internal-use software during the application development stage are capitalized. Capitalization of costs begins when the preliminary project stage is completed, management has committed to funding the project, and it is probable that the project will be completed and the software will be used to perform the function intended. Capitalization ceases at the point when the project is fully tested and substantially complete and is ready for its intended purpose. The capitalized amounts are included in property and equipment, net on the Consolidated Balance Sheets. We amortize such costs over the estimated useful life of the software; completed internal-use software that is used on our network is amortized to cost of revenue over its estimated useful life. Costs incurred during the planning, training, and post-implementation stages of the software development life-cycle are expensed as incurred.
Business Combinations
We account for our acquisitions using the acquisition method of accounting, which requires, among other things, allocation of the fair value of purchase consideration to the tangible and intangible assets acquired and liabilities assumed at their estimated fair values on the acquisition date. The excess of the fair value of purchase consideration over the values of these identifiable assets and liabilities is recorded as goodwill. Acquisition costs, such as legal and consulting fees, are expensed as incurred.
Accounting for business combinations requires us to make significant estimates and assumptions, especially at the acquisition date with respect to tangible and intangible assets acquired and liabilities assumed. We use our best estimates and assumptions to accurately assign fair value to the tangible and intangible assets acquired and liabilities assumed at the acquisition date as well as the useful lives of those acquired intangible assets. Examples of critical estimates in valuing certain
of the intangible assets and goodwill we have acquired include but are not limited to future expected cash flows from acquired developed technologies; the acquired company’s trade name, existing customer relationships and backlog. These estimates are inherently uncertain and unpredictable, and if different estimates were used the purchase price for the acquisition could be allocated to the acquired assets and liabilities differently from the allocation that we have made. Additionally, unanticipated events and circumstances may occur, which may affect the accuracy or validity of such assumptions, estimates or actual results.
The authoritative guidance allows a measurement period of up to one year from the date of acquisition to make adjustments to the preliminary allocation of the purchase price. As a result, during the measurement period we may record adjustments to the fair values of assets acquired and liabilities assumed, with the corresponding offset to goodwill to the extent that it identifies adjustments to the preliminary purchase price allocation. Upon conclusion of the measurement period or final determination of the values of the assets acquired and liabilities assumed, whichever comes first, any subsequent adjustments will be recorded to the Consolidated Statement of Operations.
Goodwill, Intangible Assets and Other Long-Lived Assets

Goodwill is the amount by which the cost of acquired net assets in a business combination exceeds the fair value of the net identifiable assets on the date of purchase and is carried at its historical cost. We test goodwill for impairment on an annual basis or more frequently if events or changes in circumstances indicate that the asset might be impaired. We determined that we operate as one reporting unit and we perform our annual impairment test of goodwill as of October 31 and whenever events or circumstances indicate that the asset might be impaired. We did not record any impairment to goodwill during the years ended December 31, 2020, 2019, and 2018.

Intangible assets with determinable economic lives are carried at cost, less accumulated amortization. Amortization is computed over the estimated useful life of each asset on a straight-line basis. We determine the useful lives of identifiable intangible assets after considering the specific facts and circumstances related to each intangible asset. Factors we consider when determining useful lives include the contractual term of any agreement related to the asset, the historical performance of the asset, our long-term strategy for using the asset, any laws or other local regulations which could impact the useful life of the asset and other economic factors, including competition and specific market conditions. Intangible assets without determinable economic lives are carried at cost, not amortized, and reviewed for impairment at least annually.

The useful lives of our intangible assets are as follows:

Customer relationships8 years
Developed technology5 years
Trade names3 years
Backlog2 years
Domain names3 years
Internet protocol addresses10 years
IPR&DIndefinite

Long-lived assets, including property and equipment and intangible assets, are reviewed for impairment whenever events or changes in circumstances, such as service discontinuance, technological obsolescence, significant decreases in our market capitalization, facility closures, or work-force reductions indicate that the carrying amount of the long-lived asset or asset group may not be recoverable. When such events occur, we compare the carrying amount of the asset or asset group to the undiscounted expected future cash flows related to the asset or asset group. If this comparison indicates that an impairment is present, the amount of the impairment is calculated as the difference between the carrying amount and the fair value of the asset or asset group.
Leases

We lease office space and data centers ("Colocation leases") under non-cancelable operating leases with various expiration dates through 2027. We also lease server equipment under non-cancelable operating finance leases with various expiration dates through 2024. We determine if an arrangement contains a lease at inception.

Operating lease right-of-use assets and lease liabilities are recognized at the present value of the future lease payments at commencement date. The interest rate implicit in our operating leases is not readily determinable, and therefore an incremental borrowing rate is estimated to determine the present value of future payments. The estimated incremental borrowing rate factors in a hypothetical interest rate on a collateralized basis with similar terms, payments, and economic environments. Operating lease right-of-use assets also include any prepaid lease payments and lease incentives.

Certain of the operating lease agreements contain rent concession, rent escalation, and option to renew provisions. Rent concession and rent escalation provisions are considered in determining the single lease cost to be recorded over the lease term. Single lease cost is recognized on a straight-line basis over the lease term commencing on the date we have the right to use the leased property. The lease terms may include options to extend or terminate the lease. We generally use the base, non-cancelable, lease term when recognizing the lease assets and liabilities, unless it is reasonably certain that the option will be exercised. Our lease agreements may contain variable costs such as common area maintenance, operating expenses or other costs. Variable lease costs are expensed as incurred on the consolidated statements of operations. Our lease agreements generally do not contain any residual value guarantees or restrictive covenants.

We lease networking equipment from a third party, through equipment finance leases. These leases include a bargain purchase option, resulting in a full transfer of ownership at the completion of the lease term.

Operating leases are reflected in operating lease right-of-use assets, operating lease liabilities, and operating lease liabilities, non-current on our consolidated balance sheets. Finance leases are included in property and equipment, net, finance lease liabilities, and finance lease liabilities, non-current on our consolidated balance sheets.

Convertible Preferred Stock Warrant Liabilities

Prior to our IPO, we recorded our warrants to purchase convertible preferred stock as a liability on the Consolidated Balance Sheets at fair value upon issuance because the warrants were exercisable for contingently redeemable preferred stock which was classified outside of stockholders' deficit. The liability associated with these warrants was subject to remeasurement at each balance sheet date, with changes in fair value recorded in the Consolidated Statement of Operations and Comprehensive Loss as other expense, net. Immediately upon closing of the IPO, our warrants to purchase convertible preferred stock were automatically converted to warrants to purchase an equal number of shares of our Class B common stock. As a result, the warrant was remeasured a final time, immediately prior to the closing of the IPO, and reclassified to additional paid-in capital within stockholders' equity. Changes in the fair value were recorded within other expense, net on the Consolidated Statement of Operations.

Revenue Recognition
Refer to Note 3, "Revenues" in the Notes to Consolidated Financial Statements for our Revenue Recognition policy.

Cost of Revenue
Cost of revenue consists primarily of fees paid to network providers for bandwidth and to third-party network data centers for housing servers, also known as colocation costs. Cost of revenue also includes employee costs for network operation, build-out and support and services delivery, network storage costs, cost of managed services and software-as-a-service, depreciation of network equipment used to deliver our services, and amortization of network-related internal-use software. We enter into contracts for bandwidth with third-party network providers with terms of typically one year. These contracts generally commit us to pay minimum monthly fees plus additional fees for bandwidth usage above the committed level. We enter into contracts for colocation services with third-party providers with terms of typically three years.
Research and Development Costs
Research and development costs consist of primarily payroll and related personnel costs for the design, development, deployment, testing, and enhancement of our edge cloud platform. Costs incurred in the development of our edge cloud platform are expensed as incurred, excluding those expenses which met the criteria for development of internal-use software.
Advertising Expense
We recognize advertising expense as incurred. We recognized total advertising expense of approximately $3.8 million, $1.4 million, and $0.5 million for the years ended December 31, 2020, 2019, and 2018, respectively.
Accounting for Stock-Based Compensation
We account for stock-based employee compensation plans under the fair value recognition and measurement provisions, which require all stock-based payments, including grants of stock options, restricted stock units ("RSUs"), restricted stock awards ("RSAs"), performance stock awards ("PSUs") and shares issued under our Employee Stock Purchase Plan ("ESPP") to be measured based on the grant-date fair value of the award and recognized as expense over the requisite service period, which is generally the vesting period of the respective award. We account for forfeitures as they occur.
The fair value of RSUs and RSAs granted to our employees and directors is based on the grant date fair value. The fair value of PSUs granted to our employees is based on the fair value determined when the performance metrics were set. The fair value of stock options granted to our employees and directors, and of the shares to be issued under our ESPP are based on the Black-Scholes option-pricing model. The determination of the fair value of a stock-based award is affected by the deemed fair value of the underlying stock price on the grant date, as well as assumptions regarding a number of other complex and subjective variables. These variables include the fair value of our common stock, the expected stock price volatility over the expected term of the options, stock option exercise and cancellation behaviors, risk-free interest rates, and expected dividends:
These assumptions and estimates are as follows:
Fair Value of Common Stock. We use the market closing price of our Class A common stock, as reported on the New York Stock Exchange, for the fair value. Prior to our IPO, our board of directors considered numerous objective and subjective factors to determine the fair value of our common stock at each meeting at which awards are approved. These factors included, but were not limited to (i) contemporaneous third-party valuations of Common Stock; (ii) the rights and preferences of Series Preferred relative to Common Stock; (iii) the lack of marketability of Common Stock; (iv) developments in the business; and (v) the likelihood of achieving a liquidity event, such as an IPO or sale of the Company, given prevailing market conditions.
Expected Term. The expected term represents the period that our stock-based awards are expected to be outstanding. The expected term assumptions were determined based on the vesting terms, exercise terms, and contractual lives of the options. The expected term was estimated using the simplified method allowed under Securities and Exchange Commission (SEC) guidance.
Volatility. Since we do not have a long trading history of our common stock, the expected volatility is determined based on the historical stock volatilities of its comparable companies. Comparable companies consist of public companies in our industry, which are similar in size, stage of life cycle, and financial leverage. We intend to continue to apply this process using the same or similar public companies until a sufficient amount of historical information regarding the volatility of its share price becomes available, or unless circumstances change such that the identified companies are no longer similar to us, in which case, more suitable companies whose share prices are publicly available would be used in the calculation.
Risk-free Interest Rate. The risk-free interest rate used in the Black-Scholes option pricing model is the implied yield available on U.S. Treasury zero-coupon issues with a remaining term equivalent to that of the options for each expected term.
Dividend Yield. The expected dividend assumption is based on our current expectations of our anticipated dividend policy. We have no history of paying any dividends and therefore used an expected dividend yield of zero.
Foreign Currency Translation
Local currencies of foreign subsidiaries are the functional currencies for financial reporting purposes. Our non-U.S. subsidiaries have either the British pound or the Japanese yen as the functional currency. For operations outside the United States that have functional currencies other than the U.S. dollar, the assets and liabilities of our subsidiaries are translated at the applicable exchange rate as of the balance sheet date, and revenue and expenses are translated at an average rate over the period. Resulting currency translation adjustments are recorded as a component of accumulated other comprehensive loss, a separate component of stockholders’ equity. Gains and losses on intercompany and other non-functional currency transactions are recorded in other income (expense), net.
Income Taxes
We account for income taxes under the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been included in the financial statements. Under this method, we determine deferred tax assets and liabilities on the basis of the differences between the financial statement and tax bases of assets and liabilities by using enacted tax rates for the year in which the differences are expected to reverse. The effect of a change in tax rates on deferred tax assets and liabilities is recognized in income in the period that includes the enactment date.
We recognize deferred tax assets to the extent that it believes that these assets are more likely than not to be realized. In making such a determination, we consider all available positive and negative evidence, including future reversals of existing taxable temporary differences, projected future taxable income, tax-planning strategies, and results of recent operations. If we determine that it would be able to realize its deferred tax assets in the future in excess of their net recorded amount, we would make an adjustment to the deferred tax asset valuation allowance, which would reduce the provision for income taxes.
We record uncertain tax positions in accordance with ASC 740 on the basis of a two-step process in which (1) it determines whether it is more likely than not that the tax positions will be sustained on the basis of the technical merits of the position and (2) for those tax positions that meet the more-likely-than-not recognition threshold, we recognize the largest amount of tax benefit that is more than 50 percent likely to be realized upon ultimate settlement with the related tax authority.
We recognize interest and penalties related to unrecognized tax benefits on the income tax expense line in the accompanying Consolidated Statement of Operations and Comprehensive Loss. Accrued interest and penalties are included in accrued expenses on the Consolidated Balance Sheet.
Comprehensive Loss
Comprehensive loss consists of two components: net loss and other comprehensive income (loss). Other comprehensive income (loss) refers to gains and losses that are recorded as an element of stockholders' equity (deficit) and are excluded from net loss. Our other comprehensive income (loss) is comprised of foreign currency translation adjustments and gain (loss) on investments in available-for-sale securities.
Net Loss Per Share Attributable to Common Stockholders
Basic and diluted net loss per share attributable to common stockholders is presented in conformity with the two-class method required for multiple classes of common stock and participating securities. Under the two-class method, net income is attributed to common stockholders and participating securities based on their participation rights. Under the two-class method, basic net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. We do not consider the restricted stock awards, and common stock issued upon early exercise of stock options as participating securities. Prior to the IPO, our participating securities also included convertible preferred stock. The holders of convertible preferred stock did not have a contractual obligation to share in our losses, as a result net losses were not allocated to these participating securities. Diluted earnings per share attributable to common stockholders adjusts basic earnings per share for the potentially dilutive impact of stock options and redeemable convertible preferred stock. As we have reported losses for the all period presented, all potentially dilutive securities are antidilutive and accordingly, basic net loss per share equals diluted net loss per share.
Recently Adopted Accounting Pronouncements
In February 2016, the FASB issued new guidance, Accounting Standard Update No. 2016-02, Leases (Topic 842) ("ASU 2016-02"), which establishes the principles to report transparent and economically neutral information about the assets and liabilities that arise from leases. Accordingly, this new standard introduces a lessee model that brings most operating leases on the balance sheet and also aligns certain of the underlying principles of the new lessor model with those in the new revenue recognition standard.
We adopted the standard on December 31, 2020, presenting the initial application of ASC 842 beginning on January 1, 2020 (i.e. adoption effective date), using the modified retrospective approach and has elected to use the optional transition method which allows us to apply the guidance of ASC 840, including disclosure requirements, in the comparative periods presented. In addition, we elected the package of practical expedients permitted under the transition guidance within the new standard, which among other things, allowed us to carry forward the historical lease classification related to agreements entered prior to adoption. We have also elected the: (i) short-term lease recognition exemption for all leases that qualify, whereby we will not recognize right-of-use ("ROU" assets or lease liabilities for existing short-term leases of those assets in transition; (ii) practical expedient to not separate lease and non-lease components for all of our leases; and (iii) use hindsight in determining the lease term, assessing the likelihood that a lease purchase option will be exercised and in assessing the impairment of right-of-use assets.

For operating leases, we recognized $54.7 million of ROU assets and $56.3 million of lease obligations, which represents the present value of the lease payments discounted using our incremental borrowing rate ("IBR"). The accounting for finance leases remained unchanged as compared to ASC 840. The cumulative impact of transition to retained earnings, recorded as of the adoption date, was not material. The cumulative effect adjustment recorded to accumulated deficit as of the adoption date was not material. The adoption of ASC 842 did not materially impact our consolidated statements of operations or cash flows.

In June 2016, FASB issued new guidance, ASU 2016-13, Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments, which introduces a new methodology for accounting for credit losses on financial instruments, including available-for-sale debt securities. The guidance establishes a new “expected loss model” that requires entities to estimate current expected credit losses on financial instruments by using all practical and relevant information. Any expected credit losses are to be reflected as allowances rather than reductions in the amortized cost of available-for-sale debt securities. We adopted the standard on December 31, 2020, presenting the initial application of ASC 842 beginning on January 1, 2020 (i.e. adoption effective date). The adoption of this standard did not have a material impact on our consolidated financial statements.

In August 2018, the FASB issued Accounting Standards Update No. 2018-15, Intangibles—Goodwill and Other—Internal-Use Software (ASC 350-40): Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement ("ASU 2018-15"). This guidance provides that implementation costs be evaluated for capitalization using the same criteria as that used for internal-use software development costs, with amortization expense being recorded in the same income statement expense line as the hosted service costs and over the expected term of the hosting arrangement. We adopted the standard on December 31, 2020, presenting the initial application of ASC 842 beginning on January 1, 2020 (i.e. adoption effective date). The adoption of this standard did not have a material impact on our consolidated financial statements.

Recently Issued Accounting Standards
On December 18, 2019, the FASB released ASU 2019-12 which affects general principles within Topic 740, Income Taxes. The amendments of ASU 2019-12 are meant to simplify and reduce the cost of accounting for income taxes. The FASB has stated that the ASU is being issued as part of its Simplification Initiative, which is meant to reduce complexity in accounting standards by improving certain areas of generally accepted accounting principles (GAAP) without compromising information provided to users of financial statements. The standard is effective for public companies on the first interim period within the annual period beginning after December 15, 2020. We expect to adopt this standard on January 1, 2021 for our fiscal year 2021 audited financial statements. We are currently evaluating the potential impact of this guidance on our consolidated financial statements and related disclosures and do not expect the adoption to have a material impact on our consolidated financial statements.
v3.20.4
Revenue
12 Months Ended
Dec. 31, 2020
Revenue from Contract with Customer [Abstract]  
Revenue Revenue
Revenue recognition
Revenue is recognized upon transfer of control of promised products or services to customers in an amount that reflects the consideration we expect to receive in exchange for those products or services. The processing and recording of certain revenue requires a manual process, and therefore we use a complex set of procedures to generate complete and accurate data to record its revenue transactions. We enter into contracts that can include various combinations of products and services, each of which are distinct and accounted for as separate performance obligations. Revenue is recognized net of any taxes collected from customers, which are subsequently remitted to governmental authorities.
A performance obligation is a promise in a contract to transfer a distinct good or service to the customer and is the unit of account. Our contracts with customers often include promises to transfer multiple products and services to a customer. Determining whether products and services are considered distinct performance obligations that should be accounted for separately versus together may require significant judgment. For contracts with multiple performance obligations, we allocate the contract transaction price to each performance obligation using our estimate of the standalone selling price ("SSP") of each distinct good or service in the contract.
Judgment is required to determine the SSP for each distinct performance obligation. We analyze separate sales of our products and services as a basis for estimating the SSP of our products and services. We then use that SSP as the basis for allocating the transaction price when our product and services are sold together in a contract with multiple performance obligations. In instances where SSP is not directly observable, such as when we do not sell the product or service separately, we determine the SSP using information that may include market conditions and other observable inputs. We typically have more than one SSP for individual products and services due to the stratification of those products and services by customers and circumstances. In these instances, we may use information, such as geographic region and distribution channel, in determining the SSP.
The transaction price in a contract for usage-based services is typically equal to the minimum commit price in the contract less any discounts provided. The transaction price in a contract that does not contain usage-based services is equal to the total contract value. Because our typical contracts represent distinct services delivered over time with the same pattern of transfer to the customer, usage-based consideration primarily related to actual consumption over the minimum commit levels is allocated to the period to which it relates. The amount of consideration recognized for usage above the minimum commit price is limited to the amount we expect to be entitled to receive in exchange for providing services. We have elected to apply the practical expedient for estimating and disclosing the variable consideration when variable consideration is allocated entirely to a wholly unsatisfied performance obligation or to a wholly unsatisfied promise to transfer a distinct good or service that forms part of a single performance obligation from our remaining performance obligations under these contracts.
Performance obligations represent stand-ready obligations that are satisfied over time as the customer simultaneously receives and consumes the benefits provided by us. These obligations can be content delivery, security, subscription services, professional services, support, edge cloud platform services, and others. Accordingly, our revenue is recognized over time, consistent with the pattern of benefit provided to the customer over the term of the agreement.
At times, customers may request changes that either amend, replace, or cancel existing contracts. Judgment is required to determine whether the specific facts and circumstances within the contracts should be accounted for as a separate contract or as a modification.
In contracts where there are timing differences between when we transfer a promised good or service to the customer and when the customer pays for that good or service, we have determined our contracts do not include a significant financing component. We have also elected the practical expedient to not measure financing components for any contract where the timing difference is less than one year.
Nature of products and services
We primarily derive revenue from the sale of services to customers executing contracts in which the standard contract term is one year, although terms may vary by contract. Most of our contracts are non-cancelable over the contractual term. The majority of our contracts commit the customer to a minimum monthly level of usage and specify the rate at which the customer
must pay for actual usage above the monthly minimum. Beginning in the fourth quarter of 2020, we also offer subscriptions to access a unified security web application and application programming interface at a fixed rate.
Revenue by geography is based on the billing address of the customer. Aside from the United States, no other single country accounted for more than 10% of revenue for the years ended December 31, 2020, 2019 and 2018.
The following table presents our net revenue by geographic region:
Year ended December 31,
202020192018
(in thousands)
United States$196,538 $142,842 $110,811 
Asia Pacific44,060 18,806 7,194 
Europe32,768 27,595 21,529 
All other countries17,508 11,219 5,029 
Total revenue$290,874 $200,462 $144,563 
The majority of our revenue is derived from enterprise customers, which are defined as customers with revenue in excess of $100,000 over the previous 12-month period. The following table presents our net revenue for enterprise and non-enterprise customers:
Year ended December 31,
202020192018
(in thousands)
Enterprise customers$256,483 $174,926 $121,639 
Non-enterprise customers34,391 25,536 22,924 
Total revenue$290,874 $200,462 $144,563 
Contract balances
The timing of revenue recognition may differ from the timing of invoicing to customers. We have an unconditional right to consideration when we invoice our customers and record a receivable. We record a contract asset when revenue is recognized prior to invoicing, or a contract liability (deferred revenue) when revenue is recognized subsequent to invoicing.
Deferred revenue includes amounts collected from customers for which revenue has not been recognized and consists of the unearned portions of security subscriptions, professional services and edge cloud platform usage. Our payment terms and conditions vary by contract type. Payment terms on invoiced amounts are typically 15 to 45 days.
The following tables present our contract assets, contract liabilities, and certain information related to these balances as of and for the year ended December 31, 2020:
As of December 31, 2020As of December 31, 2019
(in thousands)
Contract assets$387 $271 
Contract liabilities$18,020 $317 
The contract liabilities balance as of December 31, 2020, includes $14.6 million of deferred revenue assumed on October 1, 2020 related to the Signal Sciences acquisition. Please refer to Note 5 — Business Combinations for further details regarding the acquisition.
The following table presents the revenue recognized during the years ended December 31, 2020 and 2019 from amounts included in the contract liability at the beginning of the period:
Year ended December 31, 2020Year ended December 31, 2019
(in thousands)
Revenue recognized in the period from:
Amounts included in contract liability at the beginning of the period$310 $1,539 
Remaining performance obligations
As of December 31, 2020, we had $155.3 million of remaining performance obligations, which includes deferred revenue and amounts that will be invoiced and recognized in future periods, respectively. We apply the practical expedient of ASC 606, which gives us the optional exemption from disclosing certain information about our remaining performance obligations for our service contracts for which the original contract duration is one year or less, such as the aggregate transaction price allocated to the performance obligations that are unsatisfied (or partially unsatisfied) as of the end of the reporting period. The typical contract term is one year, although terms may vary by contract. We expect to recognize 71% of this balance over the next 12 months and the remainder within the following year.
Costs to obtain a contract
As of December 31, 2020 and December 31, 2019, our costs to obtain contracts were as follows:
As of December 31, 2020As of December 31, 2019
(in thousands)
Deferred contract costs$19,332 $6,804 

During the years ended December 31, 2020 and 2019, we recognized $3.5 million and $2.3 million of amortization related to deferred contract costs. These costs are recorded within the sales and marketing line item on the accompanying Consolidated Statements of Operations.
v3.20.4
Investments and Fair Value Measurements
12 Months Ended
Dec. 31, 2020
Fair Value Disclosures [Abstract]  
Investments and Fair Value Measurements Investments and Fair Value Measurements
Our total cash, cash equivalents and marketable securities consisted of the following:
As of December 31,
20202019
(in thousands)
Cash and cash equivalents:
Cash$21,273 $11,623 
Money market funds36,629 2,020 
U.S. Treasury securities— — 
Commercial paper4,998 2,499 
Total cash and cash equivalents$62,900 $16,142 
Marketable securities:
Corporate notes and bonds$14,314 $17,470 
Commercial paper41,445 5,481 
U.S. Treasury securities75,524 78,160 
Asset-backed securities— 13,856 
Total short-term marketable securities$131,283 $114,967 
U.S. Treasury securities20,448 — 
Total long-term marketable securities20,448 $— 
Total marketable securities$151,731 $114,967 
Our long-term marketable securities have remaining maturities that are greater than one year as of the balance sheet date and which we intend to hold for more than one year. These amounts are included within the other assets line on our Consolidated Balance Sheet.
Available-for-Sale Investments
The following table summarizes adjusted cost, gross unrealized gains and losses, and fair value related to available-for-sale securities classified as marketable securities on the accompanying Consolidated Balance Sheets as of December 31, 2020 and December 31, 2019:
As of December 31, 2020
Amortized
Cost
Gross
Unrealized
Gain
Gross
Unrealized
Loss
Fair
Value
(in thousands)
Corporate notes and bonds$14,297 $17 $— $14,314 
Commercial paper41,445 — — 41,445 
U.S. Treasury securities95,884 93 (5)95,972 
Asset-backed securities— — — — 
Total available-for-sale investments$151,626 $110 $(5)$151,731 
As of December 31, 2019
Amortized
Cost
Gross Unrealized GainGross
Unrealized Loss
Fair
Value
(in thousands)
Corporate notes and bonds$17,462 $$(1)$17,470 
Commercial paper5,481 — — 5,481 
U.S. Treasury securities78,075 85 — 78,160 
Asset-backed securities13,852 — 13,856 
Total available-for-sale investments$114,870 $98 $(1)$114,967 
The majority of our securities classified as available-for-sale as of December 31, 2020 have contractual maturities of one year or less. Certain securities held and classified as available-for-sale as of December 31, 2020, have contractual maturities that are greater than one year. Where we intend to hold the securities for less than 12 months, we classify them as short-term. Where we intend to hold the securities for more than 12 months, we classify them as long-term. As of December 31, 2019, all securities classified as available-for-sale had contractual maturities of one year or less. There were no securities in a continuous loss position for 12 months or longer as of December 31, 2020 and December 31, 2019. Investments are reviewed periodically to identify possible other-than-temporary impairments. No impairment loss has been recorded on the securities included in the tables above, as we believe that the decrease in fair value of these securities is temporary and we expect to recover at least up to the initial cost of investment for these securities.
Fair Value of Financial Instruments
For certain of our financial instruments, including cash held in banks, accounts receivable, and accounts payable, the carrying amounts approximate fair value due to their short maturities, and are therefore excluded from the fair value tables below.
Fair value is defined as the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. There is a three-tier fair value hierarchy, which prioritizes the inputs used in measuring fair value as follows:
Level 1—Observable inputs such as quoted prices in active markets for identical assets or liabilities;
Level 2—Inputs other than Level 1 that are observable, either directly or indirectly, such as quoted prices for similar assets or liabilities, quoted prices in markets that are not active, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities; and
Level 3—Unobservable inputs that are supported by little or no market activity, which require management judgment or estimation.
We measure our cash equivalents, marketable securities, and convertible preferred stock warrant liabilities at fair value. We classify our cash equivalents and marketable securities within Level 1 or Level 2 because we value these investments using quoted market prices or alternative pricing sources and models utilizing market observable inputs. The fair value of our Level 1 financial assets is based on quoted market prices of the identical underlying security. The fair value of our Level 2 financial assets is based on inputs that are directly or indirectly observable in the market, including the readily available pricing sources for the identical underlying security that may not be actively traded.
Financial assets and liabilities measured and recorded at fair value on a recurring basis consisted of the following types of instruments:
As of December 31, 2020
Level 1Level 2Level 3Total
(in thousands)
Cash equivalents:
Money market funds$36,629 $— $— $36,629 
Commercial paper4,998 — 4,998 
Total cash equivalents36,629 4,998 — 41,627 
Marketable securities:
Corporate notes and bonds— 14,314 — 14,314 
Commercial paper— 41,445 — 41,445 
U.S. Treasury securities— 95,972 — 95,972 
Total marketable securities— 151,731 — 151,731 
Restricted cash:
Money market funds980 — — 980 
Total restricted cash980 — — 980 
Total financial assets$37,609 $156,729 $— $194,338 
As of December 31, 2020, our remaining restricted cash balance was $1.0 million, of which $0.9 million consists of letters of credit related to its lease arrangements that is collateralized by restricted cash which is classified under other assets.
As of December 31, 2019
Level 1Level 2Level 3Total
(in thousands)
Cash equivalents:
Money market funds$2,020 $— $— $2,020 
U.S. Treasury securities— 2,499 — 2,499 
Total cash equivalents2,020 2,499 — 4,519 
Marketable securities:
Corporate notes and bonds— 17,470 — 17,470 
Commercial paper— 5,481 — 5,481 
U.S. Treasury securities— 78,160 — 78,160 
Asset-backed securities— 13,856 — 13,856 
Total marketable securities— 114,967 — 114,967 
Restricted cash:
Money market funds70,087 — — 70,087 
Total restricted cash70,087 — — 70,087 
Total financial assets$72,107 $117,466 $— $189,573 

There were no transfers of assets and liabilities measured at fair value between Level 1 and Level 2, or between Level 2 and Level 3, during the years ended December 31, 2020 and 2019.
v3.20.4
Business Combinations
12 Months Ended
Dec. 31, 2020
Business Combinations [Abstract]  
Business Combinations Business Combinations
Signal Sciences

On October 1, 2020, we completed the acquisition of Signal Sciences where we acquired 100% of the voting rights of Signal Sciences and it is now our wholly-owned subsidiary. The acquisition is expected to expand our security portfolio and bolster our existing security offerings with our web application and API protection solutions.

Under the terms of the Merger Agreement, we acquired Signal Sciences for an aggregate purchase price of $759.4 million, consisting of approximately $223.0 million in cash and the balance in Class A Common Stock and equity consideration of $536.4 million. A total of 6,367,709 shares were issued of which the fair value of 5,471,210 shares were attributed to purchase price and 896,499 shares, which are restricted as they are subject to revesting conditions, will be included in stock-based compensation as required service is provided. All of these shares have a par value of $0.00002 per share.

As part of the acquisition, we also assumed the Signal Sciences Corp. 2014 Stock Option and Grant Plan, as amended (the “Signal Plan”) and the outstanding unvested options to purchase shares of common stock of Signal Sciences Corp. thereunder, and such options became exercisable to purchase shares of Fastly’s Class A common stock, subject to appropriate adjustments to the number of shares and the exercise price of each such option."). In connection with the above, we registered 251,754 shares under the Signal Plan.

We assumed the aforementioned unvested options at the completion of the acquisition with an estimated fair value of $21.8 million. Of the total consideration, $1.1 million was allocated to the purchase price and $20.7 million was allocated to future services and will be expensed over the remaining requisite service periods of approximately 2.5 years on a straight-line basis. The estimated fair value of the stock options we assumed was determined using the Black-Scholes option pricing model. The share conversion ratio of 0.1 was applied to convert Signal Sciences’s outstanding stock awards into shares of Fastly's common stock.

Of the 6,367,709 shares issued in connection with the acquisition, a restriction was placed on 896,499 shares belonging to the three co-founders of Signal Sciences to make them subject to revesting on a quarterly basis over a 2-year period. Since they are subject to service conditions, they will be accounted for as a post-acquisition compensation expense over the requisite service period, which is also the vesting period of the award.

We accounted for the transaction as a business combination using the acquisition method of accounting. We allocated the purchase price to the tangible and identifiable intangible assets acquired and liabilities assumed based on their respective estimated fair values on the acquisition date. The fair values assigned to tangible assets acquired and liabilities assumed are based on management’s estimates and assumptions and may be subject to change as additional information is received. The determination of the fair value of the intangible assets acquired required management to make significant estimates and assumptions related to forecasted future revenues and selection of the royalty rate and discount rate. We expect to finalize the valuation as soon as practicable, but not later than one year from the acquisition date. Excess purchase price consideration was recorded as goodwill which includes value attributable to the assembled workforce.
The purchase consideration was preliminarily allocated to the tangible and intangible assets and liabilities acquired as of the acquisition date, with the excess recorded to goodwill as shown below. The fair value of assets and liabilities acquired may change as additional information is received during the measurement period. The measurement period will end no later than one-year from the acquisition date:

Amount
Assets acquired
Cash and cash equivalents$21,501 
Other current assets6,419 
Intangible assets, net124,100 
Other non-current assets8,094 
Total assets acquired$160,114 
Liabilities assumed
Current liabilities(14,755)
Non-current liabilities(21,170)
Total liabilities assumed$(35,925)
Net assets acquired124,189 
Total acquisition consideration759,393 
Goodwill Transferred$635,204 

Identifiable finite-lived intangible assets were comprised of the following (in thousands):
TotalEstimated useful life (in years)
Customer relationships$69,100 8.0
Developed Technology$49,500 5.0
Trade name$3,300 3.0
Backlog$2,200 2.0
Total intangible assets acquired$124,100 
The fair values of the acquired developed technology and trade name intangible assets were determined using the relief from royalty method. The fair values of the acquired customer relationships and backlog intangible assets were determined using the multi-period excess earnings method. The acquired intangible assets have a total weighted average amortization period of 6.6 years.

As part of the stock acquisition of Signal Sciences, we allocated a significant value of the acquisition to intangible assets. The deferred tax liability provided an additional source of taxable income to support the realization of the pre-existing deferred tax assets. As a result a portion of our valuation allowance was released and we recorded a $13.0 million tax benefit in the year ended December 31, 2020. Please refer to Note 12 — Income Taxes for further details.

During the year ended December 31, 2020, acquisition-related expenses of $20.8 million were expensed within general and administrative expenses as incurred.

The amounts of revenue and net loss of Signal Sciences included in our consolidated statement of operations from the acquisition date of October 1, 2020 to December 31, 2020 are $6.7 million and $23.0 million, respectively.

Pro Forma Financial Information

The following unaudited pro forma information presents the combined results of operations as if the acquisition of Signal Sciences had been completed as of the beginning of our fiscal year 2019. The unaudited pro forma results include adjustments primarily related to the amortization of intangible assets, share-based compensation expense for shares which are restricted as they are subject to revesting conditions, and the inclusion of acquisition costs as of the earliest period presented. There were no material transactions between Fastly and Signal Sciences during the periods presented that would need to be eliminated.
The unaudited pro forma results do not reflect any cost saving synergies from operating efficiencies, or the effect of the incremental costs incurred from integrating these companies. For pro forma purposes, 2020 earnings were adjusted to exclude acquisition-related costs, and 2019 earnings were adjusted to include these costs. Accordingly, these unaudited pro forma results are presented for informational purposes only and are not necessarily indicative of what the actual results of operations of the combined company would have been if the acquisition had occurred at the beginning of the period presented, nor are they indicative of future results of operations.

The unaudited pro forma financial information was as follows (in thousands):

(Unaudited)
As of December 31,
20202019
(in thousands)
Revenue$313,665 $218,529 
Net loss$(159,248)$(178,124)
v3.20.4
Balance Sheet Information
12 Months Ended
Dec. 31, 2020
Balance Sheet Related Disclosures [Abstract]  
Balance Sheet Information Balance Sheet Information
Allowance for Doubtful Accounts
The activity in the accounts receivable reserves was as follows:
As of December 31,
20202019
(in thousands)
Beginning balance$1,816 $1,679 
Additions to the reserves1,719 360 
Write-offs and adjustments(287)(223)
Ending balance$3,248 $1,816 
Property and Equipment, Net
Property and equipment, net consisted of the following:
As of December 31,
20202019
(in thousands)
Computer and networking equipment$129,998 $89,830 
Leasehold improvements3,817 3,285 
Furniture and fixtures1,092 681 
Office equipment659 579 
Internal-use software22,066 13,901 
Property and equipment, gross157,632 108,276 
Accumulated depreciation and amortization(61,653)(48,239)
Property and equipment, net$95,979 $60,037 
Depreciation and amortization expense on property and equipment for the years ended December 31, 2020 and 2019 was approximately $19.8 million and $16.4 million, respectively. Included in these amounts was amortization expense for capitalized internal-use software costs of approximately $2.4 million and $2.2 million for the years ended December 31, 2020
and 2019, respectively. As of December 31, 2020 and December 31, 2019, the unamortized balance of capitalized internal-use software costs on our Consolidated Balance Sheets was approximately $14.2 million and $8.5 million, respectively.
We lease certain networking equipment from various third parties, through equipment finance leases. Our networking equipment assets as of December 31, 2020 and 2019, included a total of $36.2 million and $13.7 million acquired under finance lease agreements, respectively. These leases are capitalized in property and equipment, and the related amortization of assets under finance leases is included in depreciation and amortization expense. The accumulated depreciation of the networking equipment assets under finance leases totaled $6.7 million and $3.8 million as of December 31, 2020 and 2019, respectively.
Accrued Expenses
Accrued expenses consisted of the following:
As of December 31,
20202019
(in thousands)
Accrued compensation and related benefits$17,840 $8,734 
Sales and use tax payable6,274 3,938 
Accrued colocation and bandwidth costs3,644 3,237 
Accrued acquisition-related costs2,208 — 
Other accrued liabilities4,368 3,969 
Total accrued expenses$34,334 $19,878 
Other Current Liabilities
Other current liabilities consisted of the following:
As of December 31,
20202019
(in thousands)
Deferred revenue$15,916 $317 
Accrued computer and networking equipment3,126 7,060 
Liability for early-exercised stock options (see Note 11)255 467 
Other current liabilities380 325 
Total other current liabilities$19,677 $8,169 
Other Long-Term Liabilities
Other long-term liabilities consisted of the following:
As of December 31,
20202019
(in thousands)
Deferred revenue, non-current$2,104 $— 
CARES Act payroll tax deferral1,676 — 
Deferred rent— 634 
Other long-term liabilities620 404 
Total other long-term liabilities$4,400 $1,038 
Accumulated Other Comprehensive Income (Loss)
The following table summarizes the changes in accumulated other comprehensive loss, which is reported as a component of stockholders’ equity (deficit):
Foreign Currency TranslationAvailable-for-sale investmentsAccumulated Other Comprehensive Income (Loss)
(in thousands)
Balance at January 1, 2018$(11)$(13)$(24)
Other comprehensive income (loss)(1)(11)(12)
Balance at December 31, 2018(12)(24)(36)
Other comprehensive income (loss)111 121 232 
Balance at December 31, 201999 97 196 
Other comprehensive income (loss)(135)(55)(190)
Balance at December 31, 2020$(36)$42 $
v3.20.4
Leases
12 Months Ended
Dec. 31, 2020
Leases [Abstract]  
Leases Leases
We have operating leases for corporate offices and data centers ("Colocation leases"), and finance leases for networking equipment. Our leases have remaining lease terms of 1 year to 7 years, some of which include options to extend the leases.

We also sublease a portion of our corporate office spaces. Subleases have remaining lease terms of 1 year. Sublease income, was $1.3 million, $1.2 million, and $0.9 million for the years ended December 31, 2020, 2019 and 2018, respectively.

As a result of our acquisition of Signal Sciences, we acquired $5.8 million of operating ROU assets and $6.2 million of operating lease liabilities, determined as of the date of the acquisition.

The components of lease cost were as follows:

Year ended December 31, 2020
Operating lease cost:
Operating lease cost$21,765 
Variable lease cost4,363 
Short-term lease cost — 
Total operating lease costs$26,128 
Finance lease cost:
Amortization of assets under finance lease$2,858 
Interest688 
Total finance lease cost$3,546 

Other information related to leases was as follows:
Year ended December 31, 2020
Supplemental Cash Flow Information
Cash paid for amounts included in the measurement of lease liabilities:
Payments for operating leases included in cash from operating activities$18,264 
Payments for finance leases included in cash from financing activities$5,773 
Payments for finance leases included in cash from operating activities$688 
Assets obtained in exchange for lease obligations:
Operating leases $23,827 
Finance leases$22,541 

As of December 31, 2020
Weighted Average Remaining Lease term (in years)
Operating leases4.44
Finance leases2.51
Weighted Average Discount Rate
Operating leases5.68 %
Finance leases5.12 %

As of December 31, 2020, we had undiscounted commitments of $7.9 million for operating leases that have not yet commenced, and therefore are not included in the right-of-use asset or operating lease liability. These operating leases will commence in 2021 with lease terms of 3 years to 6 years.

Future minimum lease payments under non-cancellable leases as of December 31, 2020 were as follows:

Year ending December 31,Operating LeasesFinance Leases
2021$23,095 $12,115 
202217,010 9,447 
202310,706 5,921 
20247,965 — 
20257,416 — 
Thereafter9,888 — 
Total future minimum lease payments76,080 27,483 
Less: imputed interest(9,591)(1,742)
Total liability$66,489 $25,741 

Future minimum lease payments under our contracted facilities operating leases as of December 31, 2019 were as follows:
Gross Lease CommitmentsSublease IncomeNet Lease Commitment
(in thousands)
2020$4,856 $(1,219)$3,637 
20216,143 — 6,143 
20225,463 — 5,463 
20235,627 — 5,627 
20245,796 — 5,796 
Thereafter15,794 — 15,794 
Total$43,679 $(1,219)$42,460 
Future minimum lease payments under our contracted colocation operating leases as of December 31, 2019 were as follows:
Lease Commitments
2020$12,105 
20215,637 
20223,271 
2023142 
202463 
Thereafter— 
Total$21,218 
Leases Leases
We have operating leases for corporate offices and data centers ("Colocation leases"), and finance leases for networking equipment. Our leases have remaining lease terms of 1 year to 7 years, some of which include options to extend the leases.

We also sublease a portion of our corporate office spaces. Subleases have remaining lease terms of 1 year. Sublease income, was $1.3 million, $1.2 million, and $0.9 million for the years ended December 31, 2020, 2019 and 2018, respectively.

As a result of our acquisition of Signal Sciences, we acquired $5.8 million of operating ROU assets and $6.2 million of operating lease liabilities, determined as of the date of the acquisition.

The components of lease cost were as follows:

Year ended December 31, 2020
Operating lease cost:
Operating lease cost$21,765 
Variable lease cost4,363 
Short-term lease cost — 
Total operating lease costs$26,128 
Finance lease cost:
Amortization of assets under finance lease$2,858 
Interest688 
Total finance lease cost$3,546 

Other information related to leases was as follows:
Year ended December 31, 2020
Supplemental Cash Flow Information
Cash paid for amounts included in the measurement of lease liabilities:
Payments for operating leases included in cash from operating activities$18,264 
Payments for finance leases included in cash from financing activities$5,773 
Payments for finance leases included in cash from operating activities$688 
Assets obtained in exchange for lease obligations:
Operating leases $23,827 
Finance leases$22,541 

As of December 31, 2020
Weighted Average Remaining Lease term (in years)
Operating leases4.44
Finance leases2.51
Weighted Average Discount Rate
Operating leases5.68 %
Finance leases5.12 %

As of December 31, 2020, we had undiscounted commitments of $7.9 million for operating leases that have not yet commenced, and therefore are not included in the right-of-use asset or operating lease liability. These operating leases will commence in 2021 with lease terms of 3 years to 6 years.

Future minimum lease payments under non-cancellable leases as of December 31, 2020 were as follows:

Year ending December 31,Operating LeasesFinance Leases
2021$23,095 $12,115 
202217,010 9,447 
202310,706 5,921 
20247,965 — 
20257,416 — 
Thereafter9,888 — 
Total future minimum lease payments76,080 27,483 
Less: imputed interest(9,591)(1,742)
Total liability$66,489 $25,741 

Future minimum lease payments under our contracted facilities operating leases as of December 31, 2019 were as follows:
Gross Lease CommitmentsSublease IncomeNet Lease Commitment
(in thousands)
2020$4,856 $(1,219)$3,637 
20216,143 — 6,143 
20225,463 — 5,463 
20235,627 — 5,627 
20245,796 — 5,796 
Thereafter15,794 — 15,794 
Total$43,679 $(1,219)$42,460 
Future minimum lease payments under our contracted colocation operating leases as of December 31, 2019 were as follows:
Lease Commitments
2020$12,105 
20215,637 
20223,271 
2023142 
202463 
Thereafter— 
Total$21,218 
Leases Leases
We have operating leases for corporate offices and data centers ("Colocation leases"), and finance leases for networking equipment. Our leases have remaining lease terms of 1 year to 7 years, some of which include options to extend the leases.

We also sublease a portion of our corporate office spaces. Subleases have remaining lease terms of 1 year. Sublease income, was $1.3 million, $1.2 million, and $0.9 million for the years ended December 31, 2020, 2019 and 2018, respectively.

As a result of our acquisition of Signal Sciences, we acquired $5.8 million of operating ROU assets and $6.2 million of operating lease liabilities, determined as of the date of the acquisition.

The components of lease cost were as follows:

Year ended December 31, 2020
Operating lease cost:
Operating lease cost$21,765 
Variable lease cost4,363 
Short-term lease cost — 
Total operating lease costs$26,128 
Finance lease cost:
Amortization of assets under finance lease$2,858 
Interest688 
Total finance lease cost$3,546 

Other information related to leases was as follows:
Year ended December 31, 2020
Supplemental Cash Flow Information
Cash paid for amounts included in the measurement of lease liabilities:
Payments for operating leases included in cash from operating activities$18,264 
Payments for finance leases included in cash from financing activities$5,773 
Payments for finance leases included in cash from operating activities$688 
Assets obtained in exchange for lease obligations:
Operating leases $23,827 
Finance leases$22,541 

As of December 31, 2020
Weighted Average Remaining Lease term (in years)
Operating leases4.44
Finance leases2.51
Weighted Average Discount Rate
Operating leases5.68 %
Finance leases5.12 %

As of December 31, 2020, we had undiscounted commitments of $7.9 million for operating leases that have not yet commenced, and therefore are not included in the right-of-use asset or operating lease liability. These operating leases will commence in 2021 with lease terms of 3 years to 6 years.

Future minimum lease payments under non-cancellable leases as of December 31, 2020 were as follows:

Year ending December 31,Operating LeasesFinance Leases
2021$23,095 $12,115 
202217,010 9,447 
202310,706 5,921 
20247,965 — 
20257,416 — 
Thereafter9,888 — 
Total future minimum lease payments76,080 27,483 
Less: imputed interest(9,591)(1,742)
Total liability$66,489 $25,741 

Future minimum lease payments under our contracted facilities operating leases as of December 31, 2019 were as follows:
Gross Lease CommitmentsSublease IncomeNet Lease Commitment
(in thousands)
2020$4,856 $(1,219)$3,637 
20216,143 — 6,143 
20225,463 — 5,463 
20235,627 — 5,627 
20245,796 — 5,796 
Thereafter15,794 — 15,794 
Total$43,679 $(1,219)$42,460 
Future minimum lease payments under our contracted colocation operating leases as of December 31, 2019 were as follows:
Lease Commitments
2020$12,105 
20215,637 
20223,271 
2023142 
202463 
Thereafter— 
Total$21,218 
v3.20.4
Goodwill and Intangible Assets
12 Months Ended
Dec. 31, 2020
Goodwill and Intangible Assets Disclosure [Abstract]  
Goodwill and Intangible Assets Goodwill and Intangible Assets
Goodwill
The changes in the carrying amount of goodwill for the years ended December 31, 2020 and 2019 are as follows:
Year ended December 31,
20202019
(in thousands)
Balance, beginning of period$372 $360 
Goodwill acquired635,204 — 
Foreign currency translation14 12 
Balance, end of period$635,590 $372 
The goodwill acquired from Signal Sciences is carried in U.S. dollars, while goodwill from previous acquisitions is denominated in other foreign currencies. Goodwill amounts are not amortized, but tested for impairment on an annual basis. There was no impairment of goodwill for the periods ended December 31, 2020, 2019 and 2018.
Intangible Assets, net
As of December 31, 2020 and December 31, 2019, our intangible assets consisted of the following:
As of December 31, 2020As of December 31, 2019
Gross carrying valueAccumulated amortizationNet carrying valueGross carrying valueAccumulated amortizationNet carrying value
(in thousands)
Intangible assets:
Customer relationships$69,100 $(2,053)$67,047 $— $— $— 
Developed technology49,500 (2,475)47,025 — — — 
Trade names3,300 (275)3,025 — — — 
Internet protocol addresses2,891 (578)2,313 1,448 (362)1,086 
Backlog2,200 (275)1,925 — — — 
In-process research and development ("IPR&D")368 — 368 — — — 
Domain name
39 — 39 39 — 39 
Total intangible assets$127,398 $(5,656)$121,742 $1,487 $(362)$1,125 
During the year ended December 31, 2020, we added $69.1 million of customer relationships, $49.5 million of developed technology, $3.3 million of trade names, and $2.2 million of backlog from the acquisition of Signal Sciences, which are subject to amortization. We also purchased additional internet protocol addresses for a gross carrying value of $1.4 million. Internet protocol addresses and domain name intangible assets are subject to amortization. During the year ended December 31, 2020, we acquired certain IPR&D assets for $0.4 million, which are not subject to amortization.
Amortization expense was $5.3 million, $0.1 million and $0.1 million, for the years ended December 31, 2020, 2019 and 2018, respectively. We did not record any impairments during the years ended December 31, 2020, 2019 and 2018.
The estimated future amortization expense intangible assets as of December 31, 2020 is as follows:
As of December 31, 2020
(in thousands)
2021$21,143 
202220,765 
202319,665 
202418,830 
202516,352 
Thereafter24,619 
Total$121,374 
v3.20.4
Debt Instruments
12 Months Ended
Dec. 31, 2020
Debt Disclosure [Abstract]  
Debt Instruments Debt Instruments
Loan and Security Agreement
In July 2013, we entered into a Loan and Security Agreement (the "Facility") with a bank related to an equipment facility providing us with an equipment line for advances of up to $2.5 million. The Facility was amended in September 2013 to increase the equipment line for advances up to $5.0 million (as amended, the "Prior Loan Agreement"), November 2014 to increase the equipment line for advances up to $15.0 million, and August 2016 to increase the equipment line for advances up to $17.5 million and allowed for reborrowing of amounts repaid under the equipment loan (as amended, the "Senior Loan Agreement"). The Senior Loan Agreement was additionally amended in February 2017 and March 2017, which extended the draw period to January 2018.
In November 2017, we entered into a Second Amended and Restated Loan and Security Agreement, which amended the Senior Loan Agreement and increased the additional equipment line for advances up to an aggregate of $30.0 million through November 2018. As of December 31, 2018, $29.2 million had been drawn on this Second Amended and Restated Loan and Security Agreement. The interest rate associated with each advance under the Senior Loan Agreement was 1.75% above the floating prime rate. Beginning November 2018, we were obligated to make equal monthly payments of principal plus interest with repayment no later than November 1, 2021.

On November 4, 2019, the outstanding loan of $20.0 million was paid in full, in accordance with the terms of the agreement.

Credit Facility
In December 2018, we entered into a Second Lien Credit Agreement under which were permitted to borrow up to $30.0 million ("Credit Facility"). As part of this agreement, the Second Amendment to Amended and Restated Loan was amended to allow for this additional indebtedness. The advances under the Credit Facility were subject to interest at a rate of prime plus 4.25%. As of December 31, 2018, $20.0 million had been drawn on this Credit Facility. On July 8, 2019, the $20.0 million outstanding loan, which was due and payable on December 24, 2021, was paid in full, in accordance with the terms of the Credit Facility. Upon payment, the Credit Facility arrangement was terminated.

Cash Collateralized Revolving Credit Agreement ("Revolving Credit Agreement")
In November 2019, we entered into a Revolving Credit Agreement with Citibank, N.A (the "Lender") for an aggregate commitment amount of $70.0 million with a maturity date of November 3, 2022 (the "Revolver"). The amount of borrowings available under the Revolving Credit Agreement at any time was collateralized by our cash, which was classified as restricted cash on our balance sheets.
The interest rate associated with each advance under the Revolving Credit Agreement was equal to the sum of LIBOR for the applicable interest period plus 1.50% which is a per annum rate based on outstanding borrowings. As such, for the initial interest period ending in November 2020, the interest rate was set at 3.46%. The commitment fee was 0.20% per annum based on the average daily unused amount of the commitment amount. Interest payments on outstanding borrowings were due on the last day of each interest period and payments for the commitment fee are due at the end of each calendar quarter.

In November 2020, we terminated the Revolving Credit Agreement in accordance with its terms. In connection with the termination of the Revolving Credit Agreement, we repaid the then outstanding aggregate principal amount of $20.3 million, as well as any accrued and unpaid interest, as of the termination date. The associated restriction on the collateralized cash of $70.0 million was also released, accordingly. As of December 31, 2019, $20.3 million had been drawn on the Revolving Credit Agreement. As of December 31, 2020, we have no amounts outstanding nor available for borrowing under the Revolving Credit Agreement.

Interest expense related to the Revolving Credit Agreement, Credit Facility and Loan and Security Agreement for the years ended December 31, 2020 was $0.9 million. Total interest expense related to debt, excluding interest expense related to our finance leases now separately disclosed in Note 7—Leases, for the year ended December 31, 2019 was $5.2 million, $4.7 million of which related to the Revolving Credit Agreement, Credit Facility and Loan and Security Agreement, and $0.5 million of which related to finance lease agreements and other costs. Total interest expense related to debt, prior to the adoption of ASC 842, for the year ended December 31, 2018 was $1.9 million, $1.7 million of which related to the Credit Facility and Loan and Security Agreement, and $0.2 million of which related to finance lease agreements.

The following table reflects the carrying values of the debt agreements as of December 31, 2019:
As of December 31,
2019
Liability component:
Principal amount—Cash Collateralized Revolving Credit Agreement$20,300 
Less: unamortized debt issuance costs(219)
Less: current portion of long-term debt— 
Long-term debt, less current portion—Cash Collateralized Revolving Credit Agreement$20,081 
v3.20.4
Commitments and Contingencies
12 Months Ended
Dec. 31, 2020
Commitments and Contingencies Disclosure [Abstract]  
Commitments and Contingencies Commitments and Contingencies
Finance and Operating Lease Commitments
Our commitments include commitments under our non-cancelable facilities and colocation operating leases (i.e. data center leases), as well as finance leases for networking equipment. Refer to Note 7—Leases for further details and disclosures around their minimum future purchase commitments as of December 31, 2020.
Purchase Commitments
As of December 31, 2020, we had long-term commitments for cost of revenue related agreements (i.e., bandwidth usage, peering and other managed services with various networks, internet service providers ("ISPs") and other third-party vendors). Additionally, as of December 31, 2020, we had entered into purchase orders with various vendors.
Aside from our finance and operating lease commitments, including our colocation operating commitments, which have been disclosed in Note 7—Leases, the minimum future purchase commitments relating to our other cost of revenue arrangements and SaaS commitments as of December 31, 2020 were as follows:
Cost of Revenue CommitmentsSaaS AgreementsTotal Purchase Commitments
(in thousands)
2021$25,900 $9,785 $35,685 
20225,894 9,009 14,903 
2023— 9,000 9,000 
2024— — — 
2025— — — 
Thereafter— — — 
Total$31,794 $27,794 $59,588 
Sales and Use Tax
We conduct operations in many tax jurisdictions throughout the United States. In many of these jurisdictions, non-income-based taxes, such as sales and use and telecommunications taxes are assessed on our operations. We are subject to indirect taxes, and may be subject to certain other taxes, in some of these jurisdictions. Historically, we have not billed or collected these taxes and, in accordance with U.S. GAAP, we have recorded a provision for our tax exposure in these jurisdictions when it is both probable that a liability has been incurred and the amount of the exposure can be reasonably estimated. As a result, we have recorded a liability of $6.3 million and $3.9 million as of December 31, 2020 and 2019, respectively. These estimates are based on several key assumptions, including the taxability of our products, the jurisdictions in which we believe we have nexus and the sourcing of revenues to those jurisdictions. In the event these jurisdictions challenge our assumptions and analysis, our actual exposure could differ materially from our current estimates.
Legal Matters
We are currently involved in, and may in the future be involved in, various legal proceedings and claims arising from the normal course of business, and an unfavorable resolution of any of these matters could materially affect our future results of operations, cash flows or financial position. We are also party to various disputes that management considers routine and incidental to its business. Management does not expect the results of any of these routine actions to have a material effect on our business, results of operations, financial condition, or cash flows.
On August 27, 2020, a purported securities class action lawsuit was filed in the United States District Court for the Northern District of California, captioned Marcos Betancourt v. Fastly, Inc., et al. (Case No. 4:20-cv-06024-PJH) naming as defendants us and certain of our officers. On September 15, 2020, a substantively identical complaint was filed against the same defendants in the same court, captioned Rami Habib v. Fastly, Inc., et al. (Case No. 4:20-cv-06454-JST). The complaints assert that all defendants violated Section 10(b) of the Exchange Act and SEC Rule 10b-5 by making materially false or misleading statements between May 6, 2020 and August 5, 2020 regarding our business and financials, while not disclosing the identity of one of its largest customers. The plaintiffs also allege that certain of our officers violated Section 20(a) of the Exchange Act. On September 27, 2020, the court consolidated the two cases into one putative class action, captioned In re Fastly, Inc. Securities Litigation. Motions for the lead plaintiff were filed on October 26, 2020 and are currently pending before the Court.

On December 28, 2020, certain of our officers and directors were named as defendants in a shareholder derivative action filed in the United States District Court for the District of Delaware, captioned Wei v. Bixby, et al., Case No. 1:20-cv-01773-MN. On February 2, 2021, a substantially similar shareholder derivative complaint was filed against the same defendants in the same court, captioned Kristen Gorenberg v. Bixby et al., Case No. 1:21-cv-00136. The derivative complaints assert, inter alia, breach of fiduciary duty claims. It is possible that additional lawsuits will be filed, or allegations made by stockholders, regarding these same or other matters and also naming as defendants the Company and our officers and directors.

The pending lawsuits and any other related lawsuits are subject to inherent uncertainties, and the actual defense and disposition costs will depend upon many unknown factors. The outcome of the pending lawsuits and any other related lawsuits is necessarily uncertain. We could be forced to expend significant resources in the defense of the pending lawsuits and any additional lawsuits, and we may not prevail. In addition, we may incur substantial legal fees and costs in connection with such lawsuits. We currently are not able to estimate the possible cost to us from these matters, as the pending lawsuits are currently at an early stage, and we cannot be certain how long it may take to resolve the pending lawsuits or the possible amount of any damages that we may be required to pay. Such amounts could be material to our financial statements if we do not prevail in the defense against the pending lawsuits and any other related lawsuits, or even if we do prevail.

As of December 31, 2020, we have not accrued for any loss contingencies on the above mentioned lawsuits as we do not believe an outcome resulting in a loss is probable. We will accrue for loss contingencies if it becomes both probable that we will incur a loss and if we can reasonably estimate the amount or range of the loss.
Indemnification
We enter into standard indemnification agreements in the ordinary course of business. Pursuant to these agreements, we agree to indemnify, hold harmless, and reimburse the indemnified party for losses suffered or incurred by the indemnified party, generally our business partners or customers, in connection with our provision of its services. Generally, these obligations are limited to claims relating to infringement of a patent, copyright, or other intellectual property right, breach of our security or data protection obligations, or our negligence, willful misconduct, or violation of law. Subject to applicable statutes of limitation, the term of these indemnification agreements is generally for the duration of the agreement. The maximum potential amount of future payments we could be required to make under these indemnification agreements is unlimited; however, we carry insurance that covers certain third-party claims relating to our services and could limit our exposure in that respect.
We have agreed to indemnify each of our officers and directors during his or her lifetime for certain events or occurrences that happen by reason of the fact that the officer or director is, was, or has agreed to serve as an officer or director of the Company. We have director and officer insurance policies that may limit our exposure and may enable us to recover a portion of certain future amounts paid.
To date, we have not encountered material costs as a result of such indemnification obligations and have not accrued any related liabilities in our financial statements. In assessing whether to establish an accrual, we consider such factors as the degree of probability of an unfavorable outcome and the ability to make a reasonable estimate of the amount of loss.
v3.20.4
Stockholders' Equity
12 Months Ended
Dec. 31, 2020
Stockholders' Equity Note [Abstract]  
Stockholders' Equity Stockholders' Equity
Common Stock
Our Amended and Restated Certificate of Incorporation, as amended and restated in May 2019, authorizes the issuance of 1.0 billion shares of Class A common stock and 94.1 million shares of Class B common stock, each at a par value per share of $0.00002. Holders of Class A common stock are entitled to one vote per share and holders of Class B common stock are entitled to 10 votes per share.
As of December 31, 2020 and December 31, 2019, 103.4 million and 61.0 million shares of Class A common stock were issued and outstanding, respectively. As of December 31, 2020 and December 31, 2019, 10.2 million and 33.9 million shares of Class B common stock were issued and outstanding, respectively.
Preferred Stock
Our Amended and Restated Certificate of Incorporation, as amended and restated in May 2019, also authorizes the issuance of 10.0 million shares of preferred stock, at a par value per share of $0.00002, with rights and preferences, including voting rights, designated from time to time by the Board of Directors (the "Board"). As of both December 31, 2019 and December 31, 2020, no shares of preferred stock were issued and outstanding.

Equity Incentive Plans
In March 2011, our stockholders approved our 2011 Equity Incentive Plan ("2011 Plan"), which allows for the issuance of incentive stock options, nonstatutory stock options, stock appreciation rights, restricted stock awards, and restricted stock unit awards ("RSUs") to employees, directors, and consultants of the Company. Options granted under our 2011 Plan are exercisable for shares of our Class B common stock.
As of both December 31, 2020 and December 31, 2019, there were 23.6 million shares of Class B common stock reserved for issuance pursuant to the outstanding stock options under the 2011 Plan. As of December 31, 2020 and December 31, 2019, there were no shares of Class B common stock available for issuance for future grants under the 2011 Plan. No further awards will be issued under the 2011 Plan.
In May 2019, in conjunction with our IPO, our Board and stockholders approved our 2019 Equity Incentive Plan (the "2019 Plan") which allows for the issuance of incentive stock options, non-statutory stock options, stock appreciation rights, RSUs, performance-based stock awards, and other forms of equity compensation, which are collectively referred to as stock
awards. Additionally, the 2019 Plan provides for the grant of performance cash awards. Options are exercisable for shares of our Class A common stock.
As of December 31, 2020 and December 31, 2019, there were 19.4 million shares and 14.4 million shares of Class A common stock reserved for issuance under the 2019 Plan, respectively. As of December 31, 2020 and December 31, 2019, there were 12.8 million and 12.4 million Class A common stock available for issuance under the 2019 Plan, respectively.
In October, 2020, as part of the acquisition of Signal Sciences, we also assumed the Signal Sciences Corp. 2014 Stock Option and Grant Plan, as amended (the “Signal Plan”) and the outstanding unvested options to purchase shares of common stock of Signal Sciences Corp. thereunder, and such options became exercisable to purchase shares of Fastly’s Class A common stock, subject to appropriate adjustments to the number of shares and the exercise price of each such option. In connection with the above, we registered 251,754 shares under the Signal Plan.
In May 2019, in conjunction with our IPO, our Board and stockholders approved the Employee Stock Purchase Plan ("ESPP"). The ESPP allows eligible employees to purchase shares of our Class A common stock through payroll deductions of up to 15% of their eligible compensation, subject to a maximum of $25,000 per calendar year.
As of December 31, 2020 and December 31, 2019, there were 3.5 million shares and 2.5 million shares of Class A common stock reserved for issuance under the ESPP, respectively. As of December 31, 2020 and December 31, 2019, there were 2.8 million shares and 2.2 million shares of Class A common stock available for future issuance under the ESPP, respectively.

Stock Options

Options granted under the 2011 Plan are exercisable for Class B common stock and generally expire within 10 years from the date of grant and generally vest over four years, at the rate of 25% on the first anniversary of the date of grant and ratably on a monthly basis over the remaining 36-month period thereafter based on continued service.

Options granted under the 2019 Plan are exercisable for Class A common stock and generally expire within 10 years from the date of grant and generally vest over four years, at the rate of 25% on the first anniversary of the date of grant and ratably on a monthly basis over the remaining 36-month period thereafter based on continued service. Forfeitures are recognized as they occur.
Options granted under the Signal Sciences 2014 Equity Stock Options Plan that was assumed through the acquisition are included as part of the option rollforward activity in year ended December 31, 2020. The vesting of these options follow their original grant date terms ("Original grant date") prior to the acquisition of Signal Sciences and generally expire within 10 years from the original grant date and generally vest over four years, at the rate of 25% on the first anniversary of the date of grant and ratably on a monthly basis over the remaining 36-month period thereafter. Subsequent to the acquisition, these options are exercisable for Class A common stock and are recognized ratably over the remaining period based on continued service from the grant date. Forfeitures are recognized as they occur.
The following table summarizes stock option activity during the years ended December 31, 2020, 2019 and 2018:
Number of SharesWeighted-Average 
Exercise Price
Weighted-Average
Remaining
Contractual Term
Aggregate
Intrinsic Value
(in thousands)(in years)(in thousands)
Outstanding at January 1, 201810,370 $1.92 8.0$16,901 
Granted3,984 5.32 
Exercised(1,264)2.1 
Cancelled/forfeited(880)2.64 
Outstanding at December 31, 201812,210 2.96 7.8$64,590 
Granted2,516 10.87 
Exercised(2,650)2.45 
Cancelled/forfeited(807)5.10 
Outstanding at December 31, 201911,269 4.68 7.3$173,471 
Granted252 12.96 
Exercised(4,360)3.46 
Cancelled/forfeited(198)8.79 
Outstanding at December 31, 20206,963 $5.63 6.7$569,094 
Vested and exercisable at December 31, 20204,214 $3.71 5.8$352,535 
Unvested and exercisable at December 31, 2020320 $6.23 7.7$25,973 
The total pre-tax intrinsic value of options exercised during the years ended December 31, 2020, 2019, and 2018 was $200.9 million, $32.6 million, and $3.0 million, respectively.
The total grant date fair value of employee options vested for the years ended December 31, 2020, 2019, 2018 was $10.3 million, $6.1 million, and $3.6 million, respectively.
The weighted-average grant date fair value for options granted to employees during the years ended December 31, 2020, 2019, and 2018 was $86.77, $5.77, and $1.78, respectively.
We estimate the fair value of stock options on the date of grant using the Black-Scholes option-pricing model. Each of the Black-Scholes inputs is subjective and generally requires significant judgments to determine. We estimated the fair value of stock option awards during the years ended December 31, 2020, 2019, and 2018 on the date of the grant using the Black-Scholes option pricing model with the following weighted-average assumptions:
Year ended December 31,
202020192018
Fair value of common stock
$85.26 - $96.43
$8.24 - $22.70
$3.86 - $8.16
Expected term (in years)
5.38 - 9.75
6.026.02
Risk-free interest rate
0.31% - 0.67%
1.55% - 2.5%
2.62% - 3.0%
Expected volatility
43.92% - 46.49%
39.1% - 42.7%
40.2% - 41.5%
Dividend yield—%—%— %
During the years ended December 31, 2020 and 2019, and 2018, we recognized stock-based compensation expense from stock options of approximately $10.1 million, $7.9 million, and $4.1 million, respectively.
During the years ended December 31, 2020 and 2019, we modified the terms options awarded to certain employees to allow for the remaining unvested awards to be fully vested upon their change in employment status. As a result, we recorded incremental stock-based compensation expense in relation to these modifications of $0.9 million and $0.6 million for the years ended December 31, 2020 and 2019, respectively. During the year ended December 31, 2018, there were no option award modifications that resulted in incremental expense being recorded.
As of December 31, 2020, total unrecognized stock-based compensation cost related to outstanding unvested stock options that are expected to vest was $28.6 million. This unrecognized stock-based compensation cost is expected to be recognized over a weighted-average period of approximately 2.29 years.
Early Exercise of Stock Options
Certain stock options granted by us are exercisable at the date of grant, with unvested shares subject to repurchase by us in the event of voluntary or involuntary termination of employment of the stockholder. Such exercises are recorded as a liability on the accompanying Consolidated Balance Sheets and reclassified into equity as the options vest. As of December 31, 2020, December 31, 2019, a total of 90,977 and 199,895 shares of Class B Common Stock were subject to repurchase by us at the lower of (i) the fair market value of such shares on the date of repurchase, or (ii) the original exercise price of such shares. The corresponding exercise value of approximately $0.4 million and $0.9 million as of December 31, 2020 and December 31, 2019, respectively, is recorded in other current liabilities and other liabilities on the accompanying Consolidated Balance Sheets.
The activity of non-vested shares as a result of early exercise of options granted to employees and non-employees, is as follows:
Year ended December 31,
202020192018
(in thousands)
Beginning balance200 245 138 
Early exercise of options— 117 238 
Vested(109)(162)(120)
Repurchased— — (11)
Ending balance91 200 245 
RSUs
We began granting RSUs under the 2019 Plan during the year ended December 31, 2019. The fair value of RSUs is based on the grant date fair value and is expensed on a straight-line basis over the applicable vesting period. RSUs grant for new hires typically vest over four years, at the rate of 25% on the first anniversary of the vest commencement date and ratably on a quarterly basis over the remaining 36-month period thereafter, based on continued service. Other RSU awards typically vest quarterly over terms of 36 to 48 months. Forfeitures are recognized as they occur.
The following table summarizes RSU activity during the year ended December 31, 2020 and 2019:
Number of SharesWeighted-Average Grant Date Fair Value Per Share
(in thousands)
Nonvested RSUs as of December 31, 2018— $— 
Granted1,644 20.07 
Cancelled/forfeited(3)
Nonvested RSUs as of December 31, 20191,641 $20.07 
Granted4,398 31.22 
Vested(1,377)22.92
Cancelled/forfeited(142)22.58
Nonvested RSUs as of December 31, 20204,520 $30.01 
During the year ended December 31, 2020 and 2019, we recognized stock-based compensation expense related to RSUs of $40.5 million and $2.2 million, respectively. There was no stock-based compensation expense recognized related to RSUs during the year ended December 31, 2018.
During the year ended December 31, 2020, we modified the terms of RSUs awarded to certain employees to allow for the remaining unvested awards to be fully vested upon their change in employment status. As a result, we recorded incremental stock-based compensation expense in relation to these modifications of $4.8 million for the year ended December 31, 2020. During the years ended December 31, 2019 and 2018, there were no RSU award modifications that resulted in incremental expense being recorded.
As of December 31, 2020, total unrecognized stock-based compensation cost related to non-vested RSUs was $124.5 million. This unrecognized stock-based compensation cost is expected to be recognized over a weighted-average period of approximately 3.02 years.
Stock subject to revest ("Revest shares")
In conjunction with the acquisition of Signal Sciences, a restriction was placed on 896,499 shares belonging to the three co-founders of Signal Sciences to make them subject to revesting on a quarterly basis over a 2 year period. Refer to Note 5—Business Combinations for further details.
The activity of revest shares granted to these employees is as follows:
Number of SharesWeighted-Average Grant Date Fair Value Per Share
(in thousands)
Nonvested revest shares as of December 31, 2019— $— 
Restricted896 97.84 
Vested(112)97.84
Cancelled/forfeited— — 
Nonvested revest shares as of December 31, 2020784 $97.84 
As of December 31, 2020, we recognized stock-based compensation expense related to revest shares of $11.1 million.
As of December 31, 2020, total unrecognized stock-based compensation cost related to revest shares was $76.6 million. This unrecognized stock-based compensation cost is expected to be recognized over a weighted-average period of approximately 1.74 years.
Performance-Based Restricted Stock Units ("PSUs")
In March 2020, we granted a maximum total of 87,918 shares of PSUs to certain employees of the company, pursuant to our 2019 Equity Incentive Plan. The PSUs granted reflect a maximum of 200% of target performance and represent the right of the employees to be issued on a future date, one (1) share of Class A common stock for each RSU received that will vest on the applicable vesting date.

On November 2, 2020, the Compensation Committee of the Board set the performance conditions related to the previously granted PSUs. The performance conditions are based on the level of achievement of certain Company and individual targets related to Fastly's operating plan for the fiscal year 2020 ("2020 operating plan"). The PSUs will vest at 50% of the target if the Company achieves 90% performance under the 2020 operating plan, 100% of the target if the Company achieves 100% performance under the 2020 operating plan and 200% of the target if the Company achieves 110% performance or greater under the 2020 operating plan. These awards will be eligible to vest linearly within those parameters. Subject to employees’ continuous service with the Company through each vesting date, 25% of the number of RSUs credited to them upon certification of achievement will vest on February 15, 2021, May 15, 2021, August 15, 2021, and November 15, 2021, respectively.
The activity of PSUs granted to employees is as follows:
Number of SharesWeighted-Average Grant Date Fair Value Per Share
(in thousands)
Nonvested PSUs as of December 31, 2019— $— 
Granted88 65.11 
Vested— — 
Cancelled/forfeited— — 
Nonvested PSUs as of December 31, 202088 $65.11 

As of December 31, 2020, the performance condition associated with the PSU was deemed probable of achievement and we recorded $1.6 million in stock-based compensation expense. The amount of stock-based compensation expense recorded is based on the expected attainment of the performance targets.

As of December 31, 2020, total unrecognized stock-based compensation cost related to PSUs was $3.4 million. This unrecognized stock-based compensation cost is expected to be recognized over a weighted-average period of approximately 0.56 years.

ESPP
The ESPP allows eligible employees to purchase shares of our common stock through payroll deductions of up to 15% of their eligible compensation. The ESPP provides for six-month offering periods, commencing in May and November of each year. At the end of each offering period employees are able to purchase shares at 85% of the lower of the fair market value of our Class A common stock on the first trading day of the offering period or on the last day of the offering period.
We estimate the fair value of shares to be issued under the ESPP on the first day of the offering period using the Black-Scholes valuation model. The inputs to the Black-Scholes option pricing model are our stock price on the first date of the offering period, the risk-free interest rate, the estimated volatility of our stock price over the term of the offering period, the expected term of the offering period and the expected dividend rate. Stock-based compensation expense related to the ESPP is recognized on a straight-line basis over the offering period. Forfeitures are recognized as they occur.
We estimated the fair value of shares granted under the ESPP on the first date of the offering period using the Black-Scholes option pricing model with the following assumptions:
Year ended December 31,
20202019
Fair value of common stock
$14.09 - $24.07
$6.02 - $6.92
Expected term (in years)
0.49-0.50
0.47-0.50
Risk-free interest rate
0.10% - 0.14%
1.59% - 2.35%
Expected volatility
50% - 60%
36% - 43%
Dividend yield—%—%
During the years ended December 31, 2020 and 2019, we withheld $9.6 million and $5.5 million in contributions from employees, respectively, and recognized $3.2 million and $2.5 million in stock-based compensation expense related to the ESPP, respectively. As of December 31, 2020, total unrecognized stock-based compensation cost related to ESPP was $1.9 million. This unrecognized stock-based compensation cost is expected to be recognized over a weighted-average period of approximately 0.4 years.
During the year ended December 31, 2020 and 2019, an aggregate of 0.3 million and 0.3 million shares of our Class A common stock was purchased under the ESPP, respectively. No common stock was issued under the ESPP in the year ended December 31, 2018. No contributions were withheld, and no stock-based compensation expense was recognized related to the ESPP in the year ended December 31, 2018.
Stock-based Compensation Expense
The following table summarizes the components of total stock-based compensation expense included in the accompanying Consolidated Statements of Operations:
Year ended December 31,
202020192018
(in thousands)
Stock-based compensation expense by caption:
Cost of revenue$3,889 $1,410 $265 
Research and development17,112 2,920 1,332 
Sales and marketing17,028 3,497 1,023 
General and administrative26,404 4,318 1,459 
Total$64,433 $12,145 $4,079 
For the years ended December 31, 2020 and 2019, we capitalized $2.0 million and $0.4 million of stock-based compensation expense, respectively. For the year ended December 31, 2018, we did not capitalize any stock-based compensation expense.
Common Stock Warrant Liabilities
Prior to the IPO, we issued convertible preferred stock warrants in conjunction with the issuances of debt. We recorded these warrants to purchase convertible preferred stock as a liability on the consolidated balance sheets at fair value upon issuance as the warrants were exercisable for contingently redeemable preferred stock which was classified outside of stockholders' equity (deficit). The liability associated with these warrants were subject to remeasurement at each balance sheet date, with changes in fair value recorded in the consolidated statement of operations and comprehensive loss as other expense, net.
On May 17, 2019, immediately upon closing of the IPO, our warrants to purchase convertible preferred stock were automatically converted to warrants to purchase an equal number of shares of our Class B common stock. As a result, the warrant was remeasured a final time, immediately prior to the closing of the IPO, and reclassified to additional paid-in capital within stockholders' equity. Changes in the fair value were recorded within other expense, net on the consolidated statement of operations. As of December 31, 2019, the warrants were classified and recorded as additional paid-in capital on the condensed consolidated balance sheets.

In the year ended December 31, 2020, certain Class B common stock warrants related to the previously outstanding subordinated debt and loan agreements were exercised under the cashless exercise method pursuant to the corresponding warrant agreements. As a result of such exercises, we issued 144,635 shares of our Class B common stock. No Class B common stock warrants were exercised under the cashless exercise method pursuant to the corresponding warrant agreements during the three months ended December 31, 2020. As of December 31, 2020, there were no outstanding Class B common stock warrants outstanding.

In the year ended December 31, 2019, certain Class B common stock warrants related to the Credit Facility, certain class B common stock warrants related to the Facility, certain Class B common stock warrants related to the Prior Loan Agreement, the Class B common stock warrants related to a previously outstanding term loan agreement, certain Class B common stock warrants related to the Mezzanine Loan and Security Agreement were exercised under the cashless exercise method pursuant to the corresponding warrant agreements. As a result of such exercises, we issued 224,102 shares of our Class B common stock in the year ended December 31, 2019.
v3.20.4
Net Loss Per Share Attributable to Common Stockholders
12 Months Ended
Dec. 31, 2020
Earnings Per Share [Abstract]  
Net Loss Per Share Attributable to Common Stockholders Net Loss Per Share Attributable to Common Stockholders
We compute net loss per share using the two-class method required for multiple classes of common stock and participating securities. The rights of the holders of the Class A common stock and Class B common stock are identical, except with respect to voting and conversion. Accordingly, the Class A common stock and Class B common stock share equally in our net losses. Prior to the IPO, our participating securities also included convertible preferred stock. The holders of convertible preferred stock did not have a contractual obligation to share in our losses, and as a result, net losses were not allocated to these participating securities.
On October 12, 2020, the outstanding shares of our Class B common stock represented less than 10% of the aggregate number of shares of the then outstanding Class A common stock and Class B common stock. As a result, all outstanding shares of Fastly’s Class B common stock, par value $0.00002 per share, will automatically convert into the same number of shares of Class A common stock, par value $0.00002 per share, under the terms of Fastly’s amended and restated certificate of incorporation, on July 12, 2021, the trading day falling nine months after the Conversion. No additional Class B shares may be issued following such Conversion.
The following table sets forth the calculation of basic and diluted net loss per share attributable to common stockholders during the periods presented. The shares issued in the IPO, the shares issued pursuant to the exercise by the underwriters of an option to purchase additional shares, and the shares of Class A and Class B common stock issued upon conversion of the outstanding shares of convertible preferred stock in the IPO are included in the table below weighted for the period outstanding:
Year ended December 31,
202020192018
Class A(1), (3)
Class B(2)
Class A (1)
Class B(2)
Class A
Class B(2)
(in thousands, except per share amounts)
Net loss attributable to common stockholders$(78,114)$(17,818)$(12,084)$(39,466)N/A$(30,935)
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted84,319 19,233 16,022 52,328 N/A24,376 
Net loss per share attributable to common stockholders, basic and diluted$(0.93)$(0.93)$(0.75)$(0.75)N/A$(1.27)
__________
(1)Class A common stock includes the issuance of 12.9 million shares of Class A common stock issued by us in connection with our IPO and shares issued upon the exercise of options subsequent to our IPO.
(2)Class B common stock includes, for all periods presented, the conversion of all of our preferred stock into an aggregate of 53.6 million shares of our Class B common stock upon closing of the IPO.    
(3)Class A common stock includes the issuance of 6.9 million shares of Class A common stock issued by us in connection with our follow-on offering.
Since we were in a loss position for the periods presented, basic net loss per share is the same as diluted net loss per share, as the inclusion of all potential common shares outstanding would have been anti-dilutive. The potential shares of common stock that were excluded from the computation of diluted net loss per share attributable to common stockholders for the period presented because including them would have been antidilutive are as follows:
Number of Shares
As of December 31,
20202019
(in thousands)
Stock options6,963 11,269 
RSUs4,520 1,641 
Early exercised stock options91 200 
Convertible common stock warrants— 183 
RSAs784 — 
Shares issuable pursuant to the ESPP25 247 
PSUs88 
Total12,471 13,540 
v3.20.4
Income Taxes
12 Months Ended
Dec. 31, 2020
Income Tax Disclosure [Abstract]  
Income Taxes Income Taxes
Loss before income taxes includes the following components:
Year ended December 31,
202020192018
(in thousands)
United States$(86,842)$(30,970)$(20,644)
Foreign(20,570)(20,088)(10,291)
Loss before income taxes$(107,412)$(51,058)$(30,935)
The income tax expense (benefit) consists of the following:
Year ended December 31,
202020192018
(in thousands)
Current tax provision (benefit):
Federal
$— $— $— 
State
420 106 81 
Foreign
1,050 386 104 
Deferred tax provision (benefit):
Federal
(10,631)— — 
State
(2,319)— — 
Foreign
— — — 
Total tax expense (benefit)$(11,480)$492 $185 
Reconciliation between our effective tax rate on income from continuing operations and the U.S. federal statutory rate is as follows:
Year ended December 31,
202020192018
Provision at federal statutory tax rate21 %21 %21 %
State taxes, net of federal tax impact— — 
Change in valuation allowance(35)(12)(11)
Foreign tax rate differential(5)(8)(7)
Acquisition related expenses(2)— — 
Stock-based compensation30 — — 
Other— (2)(4)
Effective tax rate11 %(1)%(1)%

We recorded tax benefit of $11.5 million for the year ended December 31, 2020. Our income tax benefit is primarily the result of a reduction in the valuation allowance recorded against our net deferred tax assets. In connection with the acquisition of Signal Science, we recorded a net deferred tax liability which provides an additional source of taxable income to support the realization of the pre-existing deferred tax assets. As a result a portion of our valuation allowance was released and we recorded a $13.0 million tax benefit in the year ended December 31, 2020. Our income tax benefit is partially offset by income taxes from certain foreign jurisdictions where we conduct business and state minimum income taxes in the United States.

Our deferred tax assets and liabilities were as follows:
Year ended December 31,
20202019
(in thousands)
Reserves and accruals$941 $1,839 
Lease liability17,481 — 
Stock-based compensation3,969 1,116 
Net operating losses109,281 30,750 
Depreciation of property, plant and equipment576 — 
Amortization of intangible assets— 642 
Other— 1,753 
Deferred tax assets132,248 36,100 
Deferred Revenue(673)— 
Right-of-use Asset(16,160)— 
Depreciation of property, plant and equipment— (285)
Amortization of intangible assets(31,188)— 
State Taxes(4,319)(2,034)
Other(133)— 
Deferred tax liabilities$(52,473)$(2,319)
Valuation allowance(80,028)(33,781)
Net deferred tax (liabilities) assets$(253)$— 
As of December 31, 2020 and 2019, we had net operating loss carryforwards for U.S. federal income tax purposes of approximately $395.9 million and $106.0 million, respectively; and for state income tax purposes of approximately $316.5 million and $100.0 million, respectively. The federal net operating loss carryforwards, if not utilized, will begin to expire in 2031. The state net operating loss carryforward, if not utilized, will begin to expire on various dates starting in 2021. The Company also has federal and California research and development credit carryforwards totaling $3.0 million and $1.0 million at December 31, 2020, respectively. The federal research and development credit carryforwards will begin to expire in 2034, unless previously utilized. The California research credits do not expire.
Based on all available evidence on a jurisdictional basis we believe that it is more likely than not that our deferred tax assets will not be utilized and have recorded a full valuation allowance against its net deferred tax assets. We assess on a periodic basis the likelihood that we will be able to recover its deferred tax assets. We consider all available evidence, both positive and negative, including historical losses, we determined that it is more likely than not that the net deferred tax assets will not be fully realizable for the years ended December 31, 2020 and 2019.
We have a valuation allowance for deferred tax assets, including net operating loss carryforwards. We expect to maintain this valuation allowance for the foreseeable future. During the year ended December 31, 2020, the valuation allowance related to the Company's deferred tax assets increased by $46.2 million. During the year ended December 31, 2020, we released a total of $13.0 million of our U.S. valuation allowance.
Utilization of the net operating loss carryforwards may be subject to a substantial annual limitation due to the ownership change limitations provided by the Internal Revenue Code of 1986, as amended (the "Code") and similar state provisions. A detailed analysis was performed through June 30, 2020 for Fastly to determine whether an ownership change under Section 382 of the Code has occurred has been performed and as a result there is no limitation on the use of net operating loss carryforwards attributable to periods before the change. A detailed analysis was performed for the period March 1, 2014 to October 1, 2020 for Signal Sciences to determine whether an ownership change under Section 382 of the Code has occurred has been performed and as a result there is a limitation on the use of net operating loss carryforwards acquired from Signal Sciences.

No provision for U.S. income and foreign withholding taxes has been made for these permanently reinvested foreign earnings because it is management’s intention to permanently reinvest such undistributed earnings outside the United States.

A reconciliation of the Company’s unrecognized tax benefits is as follows (in thousands):
Year ended December 31,
20202019
Balance at beginning of year
$— $— 
Increases related to prior year tax positions
2,328 — 
Increases related to current year tax positions
858 — 
Balance at end of year
$3,186 $— 

The Company has considered the amounts and probabilities of the outcomes that can be realized upon ultimate settlement with the tax authorities and determined unrecognized tax benefits primarily related to credits should be established as noted in the summary rollforward above. The unrecognized tax benefits, if recognized and in absence of full valuation allowance, would impact the income tax provision by $3.0 million in the year ended December 31, 2020. It would not impact the tax provision for year ended December 31, 2019. As of December 31, 2020, the Company does not believe that it is reasonably possible that its unrecognized tax benefits would significantly change in the following 12 months. Our policy is to recognize interest and penalties associated with uncertain tax benefits as part of the income tax provision and include accrued interest and penalties with the related income tax liability on its consolidated balance sheet. To date, we have not recognized any interest and penalties in its consolidated statements of operations, nor has it accrued for or made payments for interest and penalties.

Generally, in the U.S. federal and state taxing jurisdictions, tax periods in which certain loss and credit carryovers are generated remain open for audit until such time as the limitation period ends for the year in which such losses or credits are utilized.
On March 27, 2020, the “Coronavirus Aid, Relief and Economic Security (CARES) Act” was signed into law (the "CARES Act"). The CARES Act includes provisions relating to refundable payroll tax credits, deferment of the employer portion of certain payroll taxes, net operating loss carryback periods, alternative minimum tax credit refunds, modifications to the net interest deduction limitations and technical corrections to tax depreciation methods for qualified improvement property.
Since the second quarter of 2020, we utilized the provision to defer payment of certain of our payroll taxes. Any deferred payments will be accrued for as a liability and included in our condensed consolidated balance sheet for the applicable period. As of December 31, 2020, we have accrued for $3.4 million in payroll tax deferrals related to the CARES Act.
v3.20.4
Information About Revenue and Geographic Areas
12 Months Ended
Dec. 31, 2020
Segment Reporting [Abstract]  
Information About Revenue and Geographic Areas Information About Revenue and Geographic Areas
We consider operating segments to be components of the Company in which separate financial information is available and is evaluated regularly by our Chief Operating Decision Maker ("CODM") in deciding how to allocate resources and in assessing performance. Our CODM is the Chief Executive Officer ("CEO"). The CEO reviews financial information presented on a consolidated basis, accompanied by information about revenue, customer size, and industry vertical for purposes of allocating resources and evaluating financial performance.
We have determined that we operate our business as one reportable segment, and there are no segment managers who are held accountable for operations, operating results, or plans for levels or components below the consolidated unit level. Accordingly, we have determined that we have a single reporting segment and operating unit structure.
Revenue
Revenue by geography is based on the billing address of the customer. Refer to Note 3—Revenue for more information on net revenue by geographic region.
Long-Lived Assets
The following table presents long-lived assets by geographic region:
As of December 31,As of December 31,
20202019
(in thousands)
United States$65,054 $40,747 
All other countries30,925 19,290 
Total long-lived assets$95,979 $60,037 
v3.20.4
Subsequent Events
12 Months Ended
Dec. 31, 2020
Subsequent Events [Abstract]  
Subsequent Event Subsequent Events
On January 28, 2021, we entered into an additional finance lease agreement with the equipment provider for $2.0 million in network equipment at an annual interest rate of 4.89% over a term of three years. The agreement provides for a bargain purchase price at the end of the term. The amortization of leased assets is included in depreciation and amortization expense.

On February 16, 2021, we entered into a Senior Secured Credit Facilities Agreement ("Credit Agreement") with Silicon Valley Bank for an aggregate commitment amount of $100.0 million. The Credit Agreement bears interest at a rate per annum equal to the sum of LIBOR for the applicable interest period plus 1.75% - 2.00%, depending on the average daily outstanding balance of all loans and letters of credit under the Credit Agreement. Interest payments on outstanding borrowings are due on the last day of each interest period. The Credit Agreement has a commitment fee on the unused portion of the borrowing commitment, which is payable on the last day of each calendar quarter at a rate per annum of 0.20% - 0.25% depending on the average daily outstanding balance of all loans and letters of credit under the Credit Agreement. In addition, our Credit Agreement contains a financial covenant that requires us to maintain a consolidated adjusted quick ratio of at least 1:25 to 1:00 tested on a quarterly basis as well as a springing revenue growth covenant for certain periods if our consolidated adjusted quick ratio falls below 1.75 to 1:00 on the last day of any fiscal quarter.
v3.20.4
Summary of Significant Accounting Policies (Policies)
12 Months Ended
Dec. 31, 2020
Accounting Policies [Abstract]  
Basis of Presentation
Basis of Presentation
The consolidated financial statements have been prepared in accordance with United States generally accepted accounting principles ("U.S. GAAP").
Certain changes in presentation have been made to conform the prior period presentation to the current period reporting. Such reclassifications did not affect total revenues, operating income, or net income. We have made certain presentation changes to distinguish and disclose as a separate line item, the non-cash amortization expense of our deferred contract costs balance from other assets within operating cash flows in the Consolidated Statements of Cash Flows. With the adoption of the new leasing standard Accounting Standards Codification No. 842, Leases ("ASC 842"), we have also made certain presentation changes to distinguish and disclose as separate line items, our current and noncurrent finance leases liabilities from our current and noncurrent debt amounts in the Consolidated Balance Sheets.
Principles of Consolidation and Unaudited Interim Financial Statements Principles of ConsolidationThe accompanying consolidated financial statements include the accounts of the Company and its wholly-owned subsidiaries. All intercompany transactions and balances have been eliminated in consolidation.
Use of Estimates
Use of Estimates
The preparation of our consolidated financial statements requires us to make estimates, judgments, and assumptions that affect the reported amounts of assets, liabilities, revenue, costs and expenses, and related disclosures. Actual results and outcomes could differ significantly from our estimates, judgments, and assumptions. Significant estimates, judgments, and assumptions used in these financial statements include, but are not limited to, those related to revenue, accounts receivable and related reserves, fair value of assets acquired and liabilities assumed for business combinations, useful lives and realizability of long-lived assets, income tax reserves, and accounting for stock-based compensation. Estimates are periodically reviewed in light of changes in circumstances, facts, and experience. The effects of material revisions in estimates are reflected in the consolidated financial statements in the period of change and prospectively from the date of the change in estimate.
The ongoing global COVID-19 pandemic has impacted many operational aspects of our business and may continue to do so in the future. We assessed the impact that COVID-19 had on our results of operations, including, but not limited to an assessment of our allowance for doubtful accounts, the carrying value of short-term and long-term investments, the carrying value of goodwill and other long-lived assets, and the impact to revenue recognition and cost of revenues. While the COVID-19 pandemic has not had a material adverse impact on our financial operations to date, the future impacts of the pandemic and any resulting economic impact are largely unknown and rapidly evolving. We will continue to actively monitor the impact that COVID-19 has on the results of our business operations, and may make decisions required by federal, state or local authorities, or that are determined to be in the best interests of our employees, customers, partners, suppliers and stockholders. As a result, our estimates and judgments may change materially as new events occur or additional information becomes available to us.
Cash, Cash Equivalents
Cash, Cash Equivalents and Marketable Securities
We invest our excess cash primarily in short-term fixed income securities, including government and investment-grade debt securities and money market funds. We classify all liquid investments with stated maturities of three months or less from date of purchase as cash equivalents. Marketable securities with original maturities greater than three months from purchase date and remaining maturities less than one year are classified as short-term marketable securities. Marketable securities with remaining maturities greater than one year as of the balance sheet date and which we intend to hold for greater than one year, are classified as long-term marketable securities. The fair market value of cash equivalents at December 31, 2020 and 2019 approximated their carrying value. Cost of securities sold is based on specific identification. We determine the appropriate classification of our investments in marketable securities at the time of purchase and reevaluate such designation at each balance sheet date. We have classified and accounted for our marketable securities as available-for-sale. After considering our capital preservation objectives, as well as our liquidity requirements, we may sell securities prior to their stated maturities. We carry our available-for-sale securities at fair value, and report the unrealized gains and losses as a component of other comprehensive loss, except for unrealized losses determined to be other-than-temporary which are recorded as other expense, net. We determine any realized gains or losses on the sale of marketable securities on a specific identification method and record such gains and losses as a component of other expense, net. Interest earned on cash, cash equivalents, and marketable securities was approximately $1.4 million and $3.1 million during the years ended December 31, 2020 and 2019, respectively. These balances are recorded in interest income in the accompanying Consolidated Statement of Operations and Comprehensive Loss.
We evaluate the investments periodically for possible other-than-temporary impairment. A decline in fair value below the amortized costs of debt securities is considered an other-than-temporary impairment if we have the intent to sell the security or it is more likely than not that we will be required to sell the security before recovery of the entire amortized cost basis. In those instances, an impairment charge equal to the difference between the fair value and the amortized cost basis is recognized in other expense. Regardless of our intent or requirement to sell a debt security, impairment is considered other-than-temporary if we do not expect to recover the entire amortized cost basis.
Marketable Securities
Cash, Cash Equivalents and Marketable Securities
We invest our excess cash primarily in short-term fixed income securities, including government and investment-grade debt securities and money market funds. We classify all liquid investments with stated maturities of three months or less from date of purchase as cash equivalents. Marketable securities with original maturities greater than three months from purchase date and remaining maturities less than one year are classified as short-term marketable securities. Marketable securities with remaining maturities greater than one year as of the balance sheet date and which we intend to hold for greater than one year, are classified as long-term marketable securities. The fair market value of cash equivalents at December 31, 2020 and 2019 approximated their carrying value. Cost of securities sold is based on specific identification. We determine the appropriate classification of our investments in marketable securities at the time of purchase and reevaluate such designation at each balance sheet date. We have classified and accounted for our marketable securities as available-for-sale. After considering our capital preservation objectives, as well as our liquidity requirements, we may sell securities prior to their stated maturities. We carry our available-for-sale securities at fair value, and report the unrealized gains and losses as a component of other comprehensive loss, except for unrealized losses determined to be other-than-temporary which are recorded as other expense, net. We determine any realized gains or losses on the sale of marketable securities on a specific identification method and record such gains and losses as a component of other expense, net. Interest earned on cash, cash equivalents, and marketable securities was approximately $1.4 million and $3.1 million during the years ended December 31, 2020 and 2019, respectively. These balances are recorded in interest income in the accompanying Consolidated Statement of Operations and Comprehensive Loss.
We evaluate the investments periodically for possible other-than-temporary impairment. A decline in fair value below the amortized costs of debt securities is considered an other-than-temporary impairment if we have the intent to sell the security or it is more likely than not that we will be required to sell the security before recovery of the entire amortized cost basis. In those instances, an impairment charge equal to the difference between the fair value and the amortized cost basis is recognized in other expense. Regardless of our intent or requirement to sell a debt security, impairment is considered other-than-temporary if we do not expect to recover the entire amortized cost basis.
Restricted Cash
Restricted Cash
As of December 31, 2019, we had recorded a restricted cash balance of approximately $70.1 million on the accompanying Consolidated Balance Sheet. This restricted cash balance primarily consisted of cash deposited and held in money market funds as collateral underlying the Cash Collateralized Revolving Credit Agreement ("Revolving Credit Agreement") entered into on November 4, 2019. Interest income earned on restricted cash was approximately $0.2 million and $0.1 million during the years ended December 31, 2020 and 2019, respectively. These balances were recorded in interest income in the accompanying Consolidated Statement of Operations and Comprehensive Loss. In November 2020, we terminated the Revolving Credit Agreement in accordance with its terms. In connection with the termination of the Revolving Credit Agreement, we repaid the then outstanding aggregate principal amount and the associated restrictions on the collateralized cash of $70.0 million was also released, accordingly.
As of December 31, 2020, our remaining restricted cash balance was $1.0 million, of which $0.9 million consists of letters of credit related to its lease arrangements that is collateralized by restricted cash which is classified under other assets.
Accounts Receivable, net
Accounts Receivable, net
Accounts receivable are recorded and carried at the original invoiced amount less an allowance for any potential uncollectible amounts. We determine our trade accounts receivable allowances in line with the current expected credit losses model, based upon the assessment of various factors, such as: historical experience, credit quality of our customers, age of the accounts receivable balances, geographic related risks, economic conditions, and other factors that may affect a customer's ability to pay. Increases and decreases in the allowance for doubtful accounts are included as a component of General and administrative expense in the Consolidated Statements of Operations and Comprehensive Loss. We do not have any off-balance sheet credit exposure related to our customers.
Incremental Costs to Obtain a Contract with a Customer and Revenue Recognition
Incremental Costs to Obtain a Contract with a Customer
We capitalize incremental costs associated with obtaining customer contracts, specifically certain commission payments. We pay commissions based on contract value upon signing a new arrangement with a customer and upon renewal and upgrades of existing contracts with customers only if the renewal and upgrades result in an incremental increase in contract value. To the extent that renewals and upgrades do not result in an increase in contract value, no additional commissions are paid. These costs are deferred on our Consolidated Balance Sheets and amortized over the expected period of benefit on a straight-line basis. We also incur commission expense on an ongoing basis based upon revenue recognized. In these cases, no incremental costs are deferred, as the commissions are earned and expensed in the same period for which the associated revenue is recognized. Based on the nature of our unique technology and services, and the rate at which we continually enhance and update our technology, the expected life of the customer arrangement is determined to be approximately five years. Commissions for new arrangements and renewals are both amortized over five years. Amortization is primarily included in sales and marketing
expense in the consolidated statements of income. The current portion of deferred commission and incentive payments is included in prepaid expenses and other current assets, and the long-term portion is included in other assets on our Consolidated Balance Sheets.
Revenue
Revenue recognition
Revenue is recognized upon transfer of control of promised products or services to customers in an amount that reflects the consideration we expect to receive in exchange for those products or services. The processing and recording of certain revenue requires a manual process, and therefore we use a complex set of procedures to generate complete and accurate data to record its revenue transactions. We enter into contracts that can include various combinations of products and services, each of which are distinct and accounted for as separate performance obligations. Revenue is recognized net of any taxes collected from customers, which are subsequently remitted to governmental authorities.
A performance obligation is a promise in a contract to transfer a distinct good or service to the customer and is the unit of account. Our contracts with customers often include promises to transfer multiple products and services to a customer. Determining whether products and services are considered distinct performance obligations that should be accounted for separately versus together may require significant judgment. For contracts with multiple performance obligations, we allocate the contract transaction price to each performance obligation using our estimate of the standalone selling price ("SSP") of each distinct good or service in the contract.
Judgment is required to determine the SSP for each distinct performance obligation. We analyze separate sales of our products and services as a basis for estimating the SSP of our products and services. We then use that SSP as the basis for allocating the transaction price when our product and services are sold together in a contract with multiple performance obligations. In instances where SSP is not directly observable, such as when we do not sell the product or service separately, we determine the SSP using information that may include market conditions and other observable inputs. We typically have more than one SSP for individual products and services due to the stratification of those products and services by customers and circumstances. In these instances, we may use information, such as geographic region and distribution channel, in determining the SSP.
The transaction price in a contract for usage-based services is typically equal to the minimum commit price in the contract less any discounts provided. The transaction price in a contract that does not contain usage-based services is equal to the total contract value. Because our typical contracts represent distinct services delivered over time with the same pattern of transfer to the customer, usage-based consideration primarily related to actual consumption over the minimum commit levels is allocated to the period to which it relates. The amount of consideration recognized for usage above the minimum commit price is limited to the amount we expect to be entitled to receive in exchange for providing services. We have elected to apply the practical expedient for estimating and disclosing the variable consideration when variable consideration is allocated entirely to a wholly unsatisfied performance obligation or to a wholly unsatisfied promise to transfer a distinct good or service that forms part of a single performance obligation from our remaining performance obligations under these contracts.
Performance obligations represent stand-ready obligations that are satisfied over time as the customer simultaneously receives and consumes the benefits provided by us. These obligations can be content delivery, security, subscription services, professional services, support, edge cloud platform services, and others. Accordingly, our revenue is recognized over time, consistent with the pattern of benefit provided to the customer over the term of the agreement.
At times, customers may request changes that either amend, replace, or cancel existing contracts. Judgment is required to determine whether the specific facts and circumstances within the contracts should be accounted for as a separate contract or as a modification.
In contracts where there are timing differences between when we transfer a promised good or service to the customer and when the customer pays for that good or service, we have determined our contracts do not include a significant financing component. We have also elected the practical expedient to not measure financing components for any contract where the timing difference is less than one year.
Concentrations of Credit Risk
Concentrations of Credit Risk
Financial instruments that potentially subject us to significant concentration of credit risk consist primarily of cash, cash equivalents, marketable securities, and accounts receivable. The primary focus of our investment strategy is to preserve capital and meet liquidity requirements. Our investment policy addresses the level of credit exposure by limiting the concentration in any one corporate issuer or sector and establishing a minimum allowable credit rating. To manage the risk exposure, we invest cash equivalents and marketable securities in a variety of fixed income securities, including government and investment-grade debt securities and money market funds. We place our cash primarily in checking and money market accounts with reputable financial institutions. Deposits held with these financial institutions may exceed the amount of insurance provided on such deposits, if any.
Concentrations of credit risk with respect to accounts receivable are primarily limited to certain customers to which we make substantial sales. Our customer base consists of a large number of geographically dispersed customers diversified across several industries. To reduce risk, we routinely assess the financial strength of our customers. Based on such assessments, we believe that our accounts receivable credit risk exposure is limited.
Fair Value of Financial Instruments
Fair Value of Financial Instruments
Our financial instruments consist of cash and cash equivalents, marketable securities, accounts receivable, accounts payable, accrued expenses and debt. Cash equivalents and marketable securities, accounts receivable, accounts payable, and accrued expenses are stated at their carrying value, which approximates fair value due to the short time to the expected receipt or payment date. The carrying amount of our debt approximates fair value as the stated interest rate approximates market rates currently available to us.
Property and Equipment
Property and Equipment
Property and equipment are stated at cost less accumulated depreciation and amortization. Depreciation and amortization are computed on a straight-line basis over the estimated useful lives of the assets. The estimated useful life of each asset category is as follows:
Computer and networking equipment
3-5 years
Leasehold improvements
Shorter of lease term or 5 years
Furniture and fixtures3 years
Office equipment3 years
Internal-use software3 years
We periodically review the estimated useful lives of property and equipment and any changes to the estimated useful lives are recorded prospectively from the date of the change.
Upon retirement or sale, the cost of the assets disposed of and the related accumulated depreciation are removed from the accounts, and any resulting gain or loss is included in other expense, net in the Consolidated Statements of Operations. Repairs and maintenance costs are expensed as incurred.
Internal-Use Software Development Costs
Internal-Use Software Development Costs
Labor and related costs associated with internal-use software during the application development stage are capitalized. Capitalization of costs begins when the preliminary project stage is completed, management has committed to funding the project, and it is probable that the project will be completed and the software will be used to perform the function intended. Capitalization ceases at the point when the project is fully tested and substantially complete and is ready for its intended purpose. The capitalized amounts are included in property and equipment, net on the Consolidated Balance Sheets. We amortize such costs over the estimated useful life of the software; completed internal-use software that is used on our network is amortized to cost of revenue over its estimated useful life. Costs incurred during the planning, training, and post-implementation stages of the software development life-cycle are expensed as incurred.
Business Combinations
Business Combinations
We account for our acquisitions using the acquisition method of accounting, which requires, among other things, allocation of the fair value of purchase consideration to the tangible and intangible assets acquired and liabilities assumed at their estimated fair values on the acquisition date. The excess of the fair value of purchase consideration over the values of these identifiable assets and liabilities is recorded as goodwill. Acquisition costs, such as legal and consulting fees, are expensed as incurred.
Accounting for business combinations requires us to make significant estimates and assumptions, especially at the acquisition date with respect to tangible and intangible assets acquired and liabilities assumed. We use our best estimates and assumptions to accurately assign fair value to the tangible and intangible assets acquired and liabilities assumed at the acquisition date as well as the useful lives of those acquired intangible assets. Examples of critical estimates in valuing certain
of the intangible assets and goodwill we have acquired include but are not limited to future expected cash flows from acquired developed technologies; the acquired company’s trade name, existing customer relationships and backlog. These estimates are inherently uncertain and unpredictable, and if different estimates were used the purchase price for the acquisition could be allocated to the acquired assets and liabilities differently from the allocation that we have made. Additionally, unanticipated events and circumstances may occur, which may affect the accuracy or validity of such assumptions, estimates or actual results.
The authoritative guidance allows a measurement period of up to one year from the date of acquisition to make adjustments to the preliminary allocation of the purchase price. As a result, during the measurement period we may record adjustments to the fair values of assets acquired and liabilities assumed, with the corresponding offset to goodwill to the extent that it identifies adjustments to the preliminary purchase price allocation. Upon conclusion of the measurement period or final determination of the values of the assets acquired and liabilities assumed, whichever comes first, any subsequent adjustments will be recorded to the Consolidated Statement of Operations.
Goodwill, Intangible Assets, and Other Long-Lived Assets
Goodwill, Intangible Assets and Other Long-Lived Assets

Goodwill is the amount by which the cost of acquired net assets in a business combination exceeds the fair value of the net identifiable assets on the date of purchase and is carried at its historical cost. We test goodwill for impairment on an annual basis or more frequently if events or changes in circumstances indicate that the asset might be impaired. We determined that we operate as one reporting unit and we perform our annual impairment test of goodwill as of October 31 and whenever events or circumstances indicate that the asset might be impaired. We did not record any impairment to goodwill during the years ended December 31, 2020, 2019, and 2018.

Intangible assets with determinable economic lives are carried at cost, less accumulated amortization. Amortization is computed over the estimated useful life of each asset on a straight-line basis. We determine the useful lives of identifiable intangible assets after considering the specific facts and circumstances related to each intangible asset. Factors we consider when determining useful lives include the contractual term of any agreement related to the asset, the historical performance of the asset, our long-term strategy for using the asset, any laws or other local regulations which could impact the useful life of the asset and other economic factors, including competition and specific market conditions. Intangible assets without determinable economic lives are carried at cost, not amortized, and reviewed for impairment at least annually.

The useful lives of our intangible assets are as follows:

Customer relationships8 years
Developed technology5 years
Trade names3 years
Backlog2 years
Domain names3 years
Internet protocol addresses10 years
IPR&DIndefinite
Long-lived assets, including property and equipment and intangible assets, are reviewed for impairment whenever events or changes in circumstances, such as service discontinuance, technological obsolescence, significant decreases in our market capitalization, facility closures, or work-force reductions indicate that the carrying amount of the long-lived asset or asset group may not be recoverable. When such events occur, we compare the carrying amount of the asset or asset group to the undiscounted expected future cash flows related to the asset or asset group. If this comparison indicates that an impairment is present, the amount of the impairment is calculated as the difference between the carrying amount and the fair value of the asset or asset group.
Leases
Leases

We lease office space and data centers ("Colocation leases") under non-cancelable operating leases with various expiration dates through 2027. We also lease server equipment under non-cancelable operating finance leases with various expiration dates through 2024. We determine if an arrangement contains a lease at inception.

Operating lease right-of-use assets and lease liabilities are recognized at the present value of the future lease payments at commencement date. The interest rate implicit in our operating leases is not readily determinable, and therefore an incremental borrowing rate is estimated to determine the present value of future payments. The estimated incremental borrowing rate factors in a hypothetical interest rate on a collateralized basis with similar terms, payments, and economic environments. Operating lease right-of-use assets also include any prepaid lease payments and lease incentives.

Certain of the operating lease agreements contain rent concession, rent escalation, and option to renew provisions. Rent concession and rent escalation provisions are considered in determining the single lease cost to be recorded over the lease term. Single lease cost is recognized on a straight-line basis over the lease term commencing on the date we have the right to use the leased property. The lease terms may include options to extend or terminate the lease. We generally use the base, non-cancelable, lease term when recognizing the lease assets and liabilities, unless it is reasonably certain that the option will be exercised. Our lease agreements may contain variable costs such as common area maintenance, operating expenses or other costs. Variable lease costs are expensed as incurred on the consolidated statements of operations. Our lease agreements generally do not contain any residual value guarantees or restrictive covenants.

We lease networking equipment from a third party, through equipment finance leases. These leases include a bargain purchase option, resulting in a full transfer of ownership at the completion of the lease term.

Operating leases are reflected in operating lease right-of-use assets, operating lease liabilities, and operating lease liabilities, non-current on our consolidated balance sheets. Finance leases are included in property and equipment, net, finance lease liabilities, and finance lease liabilities, non-current on our consolidated balance sheets.
Convertible Preferred Stock Warrant Liabilities
Convertible Preferred Stock Warrant Liabilities

Prior to our IPO, we recorded our warrants to purchase convertible preferred stock as a liability on the Consolidated Balance Sheets at fair value upon issuance because the warrants were exercisable for contingently redeemable preferred stock which was classified outside of stockholders' deficit. The liability associated with these warrants was subject to remeasurement at each balance sheet date, with changes in fair value recorded in the Consolidated Statement of Operations and Comprehensive Loss as other expense, net. Immediately upon closing of the IPO, our warrants to purchase convertible preferred stock were automatically converted to warrants to purchase an equal number of shares of our Class B common stock. As a result, the warrant was remeasured a final time, immediately prior to the closing of the IPO, and reclassified to additional paid-in capital within stockholders' equity. Changes in the fair value were recorded within other expense, net on the Consolidated Statement of Operations.
Cost of Revenue
Cost of Revenue
Cost of revenue consists primarily of fees paid to network providers for bandwidth and to third-party network data centers for housing servers, also known as colocation costs. Cost of revenue also includes employee costs for network operation, build-out and support and services delivery, network storage costs, cost of managed services and software-as-a-service, depreciation of network equipment used to deliver our services, and amortization of network-related internal-use software. We enter into contracts for bandwidth with third-party network providers with terms of typically one year. These contracts generally commit us to pay minimum monthly fees plus additional fees for bandwidth usage above the committed level. We enter into contracts for colocation services with third-party providers with terms of typically three years.
Research and Development Costs
Research and Development Costs
Research and development costs consist of primarily payroll and related personnel costs for the design, development, deployment, testing, and enhancement of our edge cloud platform. Costs incurred in the development of our edge cloud platform are expensed as incurred, excluding those expenses which met the criteria for development of internal-use software.
Advertising Expense Advertising ExpenseWe recognize advertising expense as incurred.
Accounting for Stock-Based Compensation
Accounting for Stock-Based Compensation
We account for stock-based employee compensation plans under the fair value recognition and measurement provisions, which require all stock-based payments, including grants of stock options, restricted stock units ("RSUs"), restricted stock awards ("RSAs"), performance stock awards ("PSUs") and shares issued under our Employee Stock Purchase Plan ("ESPP") to be measured based on the grant-date fair value of the award and recognized as expense over the requisite service period, which is generally the vesting period of the respective award. We account for forfeitures as they occur.
The fair value of RSUs and RSAs granted to our employees and directors is based on the grant date fair value. The fair value of PSUs granted to our employees is based on the fair value determined when the performance metrics were set. The fair value of stock options granted to our employees and directors, and of the shares to be issued under our ESPP are based on the Black-Scholes option-pricing model. The determination of the fair value of a stock-based award is affected by the deemed fair value of the underlying stock price on the grant date, as well as assumptions regarding a number of other complex and subjective variables. These variables include the fair value of our common stock, the expected stock price volatility over the expected term of the options, stock option exercise and cancellation behaviors, risk-free interest rates, and expected dividends:
These assumptions and estimates are as follows:
Fair Value of Common Stock. We use the market closing price of our Class A common stock, as reported on the New York Stock Exchange, for the fair value. Prior to our IPO, our board of directors considered numerous objective and subjective factors to determine the fair value of our common stock at each meeting at which awards are approved. These factors included, but were not limited to (i) contemporaneous third-party valuations of Common Stock; (ii) the rights and preferences of Series Preferred relative to Common Stock; (iii) the lack of marketability of Common Stock; (iv) developments in the business; and (v) the likelihood of achieving a liquidity event, such as an IPO or sale of the Company, given prevailing market conditions.
Expected Term. The expected term represents the period that our stock-based awards are expected to be outstanding. The expected term assumptions were determined based on the vesting terms, exercise terms, and contractual lives of the options. The expected term was estimated using the simplified method allowed under Securities and Exchange Commission (SEC) guidance.
Volatility. Since we do not have a long trading history of our common stock, the expected volatility is determined based on the historical stock volatilities of its comparable companies. Comparable companies consist of public companies in our industry, which are similar in size, stage of life cycle, and financial leverage. We intend to continue to apply this process using the same or similar public companies until a sufficient amount of historical information regarding the volatility of its share price becomes available, or unless circumstances change such that the identified companies are no longer similar to us, in which case, more suitable companies whose share prices are publicly available would be used in the calculation.
Risk-free Interest Rate. The risk-free interest rate used in the Black-Scholes option pricing model is the implied yield available on U.S. Treasury zero-coupon issues with a remaining term equivalent to that of the options for each expected term.
Dividend Yield. The expected dividend assumption is based on our current expectations of our anticipated dividend policy. We have no history of paying any dividends and therefore used an expected dividend yield of zero.
Foreign Currency Translation
Foreign Currency Translation
Local currencies of foreign subsidiaries are the functional currencies for financial reporting purposes. Our non-U.S. subsidiaries have either the British pound or the Japanese yen as the functional currency. For operations outside the United States that have functional currencies other than the U.S. dollar, the assets and liabilities of our subsidiaries are translated at the applicable exchange rate as of the balance sheet date, and revenue and expenses are translated at an average rate over the period. Resulting currency translation adjustments are recorded as a component of accumulated other comprehensive loss, a separate component of stockholders’ equity. Gains and losses on intercompany and other non-functional currency transactions are recorded in other income (expense), net.
Income Taxes
Income Taxes
We account for income taxes under the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been included in the financial statements. Under this method, we determine deferred tax assets and liabilities on the basis of the differences between the financial statement and tax bases of assets and liabilities by using enacted tax rates for the year in which the differences are expected to reverse. The effect of a change in tax rates on deferred tax assets and liabilities is recognized in income in the period that includes the enactment date.
We recognize deferred tax assets to the extent that it believes that these assets are more likely than not to be realized. In making such a determination, we consider all available positive and negative evidence, including future reversals of existing taxable temporary differences, projected future taxable income, tax-planning strategies, and results of recent operations. If we determine that it would be able to realize its deferred tax assets in the future in excess of their net recorded amount, we would make an adjustment to the deferred tax asset valuation allowance, which would reduce the provision for income taxes.
We record uncertain tax positions in accordance with ASC 740 on the basis of a two-step process in which (1) it determines whether it is more likely than not that the tax positions will be sustained on the basis of the technical merits of the position and (2) for those tax positions that meet the more-likely-than-not recognition threshold, we recognize the largest amount of tax benefit that is more than 50 percent likely to be realized upon ultimate settlement with the related tax authority.
We recognize interest and penalties related to unrecognized tax benefits on the income tax expense line in the accompanying Consolidated Statement of Operations and Comprehensive Loss. Accrued interest and penalties are included in accrued expenses on the Consolidated Balance Sheet.
Comprehensive Loss
Comprehensive Loss
Comprehensive loss consists of two components: net loss and other comprehensive income (loss). Other comprehensive income (loss) refers to gains and losses that are recorded as an element of stockholders' equity (deficit) and are excluded from net loss. Our other comprehensive income (loss) is comprised of foreign currency translation adjustments and gain (loss) on investments in available-for-sale securities.
Net Loss Per Share Attributable to Common Stockholders Net Loss Per Share Attributable to Common StockholdersBasic and diluted net loss per share attributable to common stockholders is presented in conformity with the two-class method required for multiple classes of common stock and participating securities. Under the two-class method, net income is attributed to common stockholders and participating securities based on their participation rights. Under the two-class method, basic net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. We do not consider the restricted stock awards, and common stock issued upon early exercise of stock options as participating securities. Prior to the IPO, our participating securities also included convertible preferred stock. The holders of convertible preferred stock did not have a contractual obligation to share in our losses, as a result net losses were not allocated to these participating securities. Diluted earnings per share attributable to common stockholders adjusts basic earnings per share for the potentially dilutive impact of stock options and redeemable convertible preferred stock. As we have reported losses for the all period presented, all potentially dilutive securities are antidilutive and accordingly, basic net loss per share equals diluted net loss per share.
Recently Adopted and Issued Accounting Pronouncements
Recently Adopted Accounting Pronouncements
In February 2016, the FASB issued new guidance, Accounting Standard Update No. 2016-02, Leases (Topic 842) ("ASU 2016-02"), which establishes the principles to report transparent and economically neutral information about the assets and liabilities that arise from leases. Accordingly, this new standard introduces a lessee model that brings most operating leases on the balance sheet and also aligns certain of the underlying principles of the new lessor model with those in the new revenue recognition standard.
We adopted the standard on December 31, 2020, presenting the initial application of ASC 842 beginning on January 1, 2020 (i.e. adoption effective date), using the modified retrospective approach and has elected to use the optional transition method which allows us to apply the guidance of ASC 840, including disclosure requirements, in the comparative periods presented. In addition, we elected the package of practical expedients permitted under the transition guidance within the new standard, which among other things, allowed us to carry forward the historical lease classification related to agreements entered prior to adoption. We have also elected the: (i) short-term lease recognition exemption for all leases that qualify, whereby we will not recognize right-of-use ("ROU" assets or lease liabilities for existing short-term leases of those assets in transition; (ii) practical expedient to not separate lease and non-lease components for all of our leases; and (iii) use hindsight in determining the lease term, assessing the likelihood that a lease purchase option will be exercised and in assessing the impairment of right-of-use assets.

For operating leases, we recognized $54.7 million of ROU assets and $56.3 million of lease obligations, which represents the present value of the lease payments discounted using our incremental borrowing rate ("IBR"). The accounting for finance leases remained unchanged as compared to ASC 840. The cumulative impact of transition to retained earnings, recorded as of the adoption date, was not material. The cumulative effect adjustment recorded to accumulated deficit as of the adoption date was not material. The adoption of ASC 842 did not materially impact our consolidated statements of operations or cash flows.

In June 2016, FASB issued new guidance, ASU 2016-13, Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments, which introduces a new methodology for accounting for credit losses on financial instruments, including available-for-sale debt securities. The guidance establishes a new “expected loss model” that requires entities to estimate current expected credit losses on financial instruments by using all practical and relevant information. Any expected credit losses are to be reflected as allowances rather than reductions in the amortized cost of available-for-sale debt securities. We adopted the standard on December 31, 2020, presenting the initial application of ASC 842 beginning on January 1, 2020 (i.e. adoption effective date). The adoption of this standard did not have a material impact on our consolidated financial statements.

In August 2018, the FASB issued Accounting Standards Update No. 2018-15, Intangibles—Goodwill and Other—Internal-Use Software (ASC 350-40): Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement ("ASU 2018-15"). This guidance provides that implementation costs be evaluated for capitalization using the same criteria as that used for internal-use software development costs, with amortization expense being recorded in the same income statement expense line as the hosted service costs and over the expected term of the hosting arrangement. We adopted the standard on December 31, 2020, presenting the initial application of ASC 842 beginning on January 1, 2020 (i.e. adoption effective date). The adoption of this standard did not have a material impact on our consolidated financial statements.

Recently Issued Accounting Standards
On December 18, 2019, the FASB released ASU 2019-12 which affects general principles within Topic 740, Income Taxes. The amendments of ASU 2019-12 are meant to simplify and reduce the cost of accounting for income taxes. The FASB has stated that the ASU is being issued as part of its Simplification Initiative, which is meant to reduce complexity in accounting standards by improving certain areas of generally accepted accounting principles (GAAP) without compromising information provided to users of financial statements. The standard is effective for public companies on the first interim period within the annual period beginning after December 15, 2020. We expect to adopt this standard on January 1, 2021 for our fiscal year 2021 audited financial statements. We are currently evaluating the potential impact of this guidance on our consolidated financial statements and related disclosures and do not expect the adoption to have a material impact on our consolidated financial statements.
v3.20.4
Summary of Significant Accounting Policies (Tables)
12 Months Ended
Dec. 31, 2020
Accounting Policies [Abstract]  
Schedule of Property and Equipment, Useful Lives The estimated useful life of each asset category is as follows:
Computer and networking equipment
3-5 years
Leasehold improvements
Shorter of lease term or 5 years
Furniture and fixtures3 years
Office equipment3 years
Internal-use software3 years
Property and equipment, net consisted of the following:
As of December 31,
20202019
(in thousands)
Computer and networking equipment$129,998 $89,830 
Leasehold improvements3,817 3,285 
Furniture and fixtures1,092 681 
Office equipment659 579 
Internal-use software22,066 13,901 
Property and equipment, gross157,632 108,276 
Accumulated depreciation and amortization(61,653)(48,239)
Property and equipment, net$95,979 $60,037 
Schedule of Intangible Assets
The useful lives of our intangible assets are as follows:

Customer relationships8 years
Developed technology5 years
Trade names3 years
Backlog2 years
Domain names3 years
Internet protocol addresses10 years
IPR&DIndefinite
As of December 31, 2020 and December 31, 2019, our intangible assets consisted of the following:
As of December 31, 2020As of December 31, 2019
Gross carrying valueAccumulated amortizationNet carrying valueGross carrying valueAccumulated amortizationNet carrying value
(in thousands)
Intangible assets:
Customer relationships$69,100 $(2,053)$67,047 $— $— $— 
Developed technology49,500 (2,475)47,025 — — — 
Trade names3,300 (275)3,025 — — — 
Internet protocol addresses2,891 (578)2,313 1,448 (362)1,086 
Backlog2,200 (275)1,925 — — — 
In-process research and development ("IPR&D")368 — 368 — — — 
Domain name
39 — 39 39 — 39 
Total intangible assets$127,398 $(5,656)$121,742 $1,487 $(362)$1,125 
v3.20.4
Revenue (Tables)
12 Months Ended
Dec. 31, 2020
Revenue from Contract with Customer [Abstract]  
Revenue by Geographic Area
The following table presents our net revenue by geographic region:
Year ended December 31,
202020192018
(in thousands)
United States$196,538 $142,842 $110,811 
Asia Pacific44,060 18,806 7,194 
Europe32,768 27,595 21,529 
All other countries17,508 11,219 5,029 
Total revenue$290,874 $200,462 $144,563 
Revenue by Customer Type The following table presents our net revenue for enterprise and non-enterprise customers:
Year ended December 31,
202020192018
(in thousands)
Enterprise customers$256,483 $174,926 $121,639 
Non-enterprise customers34,391 25,536 22,924 
Total revenue$290,874 $200,462 $144,563 
Contract Assets and Liabilities
The following tables present our contract assets, contract liabilities, and certain information related to these balances as of and for the year ended December 31, 2020:
As of December 31, 2020As of December 31, 2019
(in thousands)
Contract assets$387 $271 
Contract liabilities$18,020 $317 
The following table presents the revenue recognized during the years ended December 31, 2020 and 2019 from amounts included in the contract liability at the beginning of the period:
Year ended December 31, 2020Year ended December 31, 2019
(in thousands)
Revenue recognized in the period from:
Amounts included in contract liability at the beginning of the period$310 $1,539 
Costs to Obtain Contracts
As of December 31, 2020 and December 31, 2019, our costs to obtain contracts were as follows:
As of December 31, 2020As of December 31, 2019
(in thousands)
Deferred contract costs$19,332 $6,804 
v3.20.4
Investments and Fair Value Measurements (Tables)
12 Months Ended
Dec. 31, 2020
Fair Value Disclosures [Abstract]  
Schedule of Cash, Cash Equivalents, and Marketable Securities
Our total cash, cash equivalents and marketable securities consisted of the following:
As of December 31,
20202019
(in thousands)
Cash and cash equivalents:
Cash$21,273 $11,623 
Money market funds36,629 2,020 
U.S. Treasury securities— — 
Commercial paper4,998 2,499 
Total cash and cash equivalents$62,900 $16,142 
Marketable securities:
Corporate notes and bonds$14,314 $17,470 
Commercial paper41,445 5,481 
U.S. Treasury securities75,524 78,160 
Asset-backed securities— 13,856 
Total short-term marketable securities$131,283 $114,967 
U.S. Treasury securities20,448 — 
Total long-term marketable securities20,448 $— 
Total marketable securities$151,731 $114,967 
Schedule of Available-For-Sale Investments
The following table summarizes adjusted cost, gross unrealized gains and losses, and fair value related to available-for-sale securities classified as marketable securities on the accompanying Consolidated Balance Sheets as of December 31, 2020 and December 31, 2019:
As of December 31, 2020
Amortized
Cost
Gross
Unrealized
Gain
Gross
Unrealized
Loss
Fair
Value
(in thousands)
Corporate notes and bonds$14,297 $17 $— $14,314 
Commercial paper41,445 — — 41,445 
U.S. Treasury securities95,884 93 (5)95,972 
Asset-backed securities— — — — 
Total available-for-sale investments$151,626 $110 $(5)$151,731 
As of December 31, 2019
Amortized
Cost
Gross Unrealized GainGross
Unrealized Loss
Fair
Value
(in thousands)
Corporate notes and bonds$17,462 $$(1)$17,470 
Commercial paper5,481 — — 5,481 
U.S. Treasury securities78,075 85 — 78,160 
Asset-backed securities13,852 — 13,856 
Total available-for-sale investments$114,870 $98 $(1)$114,967 
Financial Assets and Liabilities Measured and Recorded at Fair Value on a Recurring Basis Financial assets and liabilities measured and recorded at fair value on a recurring basis consisted of the following types of instruments:
As of December 31, 2020
Level 1Level 2Level 3Total
(in thousands)
Cash equivalents:
Money market funds$36,629 $— $— $36,629 
Commercial paper4,998 — 4,998 
Total cash equivalents36,629 4,998 — 41,627 
Marketable securities:
Corporate notes and bonds— 14,314 — 14,314 
Commercial paper— 41,445 — 41,445 
U.S. Treasury securities— 95,972 — 95,972 
Total marketable securities— 151,731 — 151,731 
Restricted cash:
Money market funds980 — — 980 
Total restricted cash980 — — 980 
Total financial assets$37,609 $156,729 $— $194,338 
As of December 31, 2020, our remaining restricted cash balance was $1.0 million, of which $0.9 million consists of letters of credit related to its lease arrangements that is collateralized by restricted cash which is classified under other assets.
As of December 31, 2019
Level 1Level 2Level 3Total
(in thousands)
Cash equivalents:
Money market funds$2,020 $— $— $2,020 
U.S. Treasury securities— 2,499 — 2,499 
Total cash equivalents2,020 2,499 — 4,519 
Marketable securities:
Corporate notes and bonds— 17,470 — 17,470 
Commercial paper— 5,481 — 5,481 
U.S. Treasury securities— 78,160 — 78,160 
Asset-backed securities— 13,856 — 13,856 
Total marketable securities— 114,967 — 114,967 
Restricted cash:
Money market funds70,087 — — 70,087 
Total restricted cash70,087 — — 70,087 
Total financial assets$72,107 $117,466 $— $189,573 
v3.20.4
Business Combinations (Tables)
12 Months Ended
Dec. 31, 2020
Business Combinations [Abstract]  
Schedule of Recognized Identified Assets Acquired and Liabilities Assumed The measurement period will end no later than one-year from the acquisition date:
Amount
Assets acquired
Cash and cash equivalents$21,501 
Other current assets6,419 
Intangible assets, net124,100 
Other non-current assets8,094 
Total assets acquired$160,114 
Liabilities assumed
Current liabilities(14,755)
Non-current liabilities(21,170)
Total liabilities assumed$(35,925)
Net assets acquired124,189 
Total acquisition consideration759,393 
Goodwill Transferred$635,204 
Schedule Of Identifiable Finite-Lived Intangible Assets
Identifiable finite-lived intangible assets were comprised of the following (in thousands):
TotalEstimated useful life (in years)
Customer relationships$69,100 8.0
Developed Technology$49,500 5.0
Trade name$3,300 3.0
Backlog$2,200 2.0
Total intangible assets acquired$124,100 
Schedule of Pro Forma Information
The unaudited pro forma financial information was as follows (in thousands):

(Unaudited)
As of December 31,
20202019
(in thousands)
Revenue$313,665 $218,529 
Net loss$(159,248)$(178,124)
v3.20.4
Balance Sheet Information (Tables)
12 Months Ended
Dec. 31, 2020
Balance Sheet Related Disclosures [Abstract]  
Schedule of Allowance for Doubtful Accounts
The activity in the accounts receivable reserves was as follows:
As of December 31,
20202019
(in thousands)
Beginning balance$1,816 $1,679 
Additions to the reserves1,719 360 
Write-offs and adjustments(287)(223)
Ending balance$3,248 $1,816 
Schedule of Property and Equipment, Net The estimated useful life of each asset category is as follows:
Computer and networking equipment
3-5 years
Leasehold improvements
Shorter of lease term or 5 years
Furniture and fixtures3 years
Office equipment3 years
Internal-use software3 years
Property and equipment, net consisted of the following:
As of December 31,
20202019
(in thousands)
Computer and networking equipment$129,998 $89,830 
Leasehold improvements3,817 3,285 
Furniture and fixtures1,092 681 
Office equipment659 579 
Internal-use software22,066 13,901 
Property and equipment, gross157,632 108,276 
Accumulated depreciation and amortization(61,653)(48,239)
Property and equipment, net$95,979 $60,037 
Schedule of Accrued Expenses
Accrued expenses consisted of the following:
As of December 31,
20202019
(in thousands)
Accrued compensation and related benefits$17,840 $8,734 
Sales and use tax payable6,274 3,938 
Accrued colocation and bandwidth costs3,644 3,237 
Accrued acquisition-related costs2,208 — 
Other accrued liabilities4,368 3,969 
Total accrued expenses$34,334 $19,878 
Schedule of Other Current Liabilities
Other current liabilities consisted of the following:
As of December 31,
20202019
(in thousands)
Deferred revenue$15,916 $317 
Accrued computer and networking equipment3,126 7,060 
Liability for early-exercised stock options (see Note 11)255 467 
Other current liabilities380 325 
Total other current liabilities$19,677 $8,169 
Other Long-Term Liabilities
Other long-term liabilities consisted of the following:
As of December 31,
20202019
(in thousands)
Deferred revenue, non-current$2,104 $— 
CARES Act payroll tax deferral1,676 — 
Deferred rent— 634 
Other long-term liabilities620 404 
Total other long-term liabilities$4,400 $1,038 
Schedule of Accumulated Other Comprehensive Loss
The following table summarizes the changes in accumulated other comprehensive loss, which is reported as a component of stockholders’ equity (deficit):
Foreign Currency TranslationAvailable-for-sale investmentsAccumulated Other Comprehensive Income (Loss)
(in thousands)
Balance at January 1, 2018$(11)$(13)$(24)
Other comprehensive income (loss)(1)(11)(12)
Balance at December 31, 2018(12)(24)(36)
Other comprehensive income (loss)111 121 232 
Balance at December 31, 201999 97 196 
Other comprehensive income (loss)(135)(55)(190)
Balance at December 31, 2020$(36)$42 $
v3.20.4
Leases (Tables)
12 Months Ended
Dec. 31, 2020
Leases [Abstract]  
Schedule of Lease Costs & Other Information
The components of lease cost were as follows:

Year ended December 31, 2020
Operating lease cost:
Operating lease cost$21,765 
Variable lease cost4,363 
Short-term lease cost — 
Total operating lease costs$26,128 
Finance lease cost:
Amortization of assets under finance lease$2,858 
Interest688 
Total finance lease cost$3,546 

Other information related to leases was as follows:
Year ended December 31, 2020
Supplemental Cash Flow Information
Cash paid for amounts included in the measurement of lease liabilities:
Payments for operating leases included in cash from operating activities$18,264 
Payments for finance leases included in cash from financing activities$5,773 
Payments for finance leases included in cash from operating activities$688 
Assets obtained in exchange for lease obligations:
Operating leases $23,827 
Finance leases$22,541 

As of December 31, 2020
Weighted Average Remaining Lease term (in years)
Operating leases4.44
Finance leases2.51
Weighted Average Discount Rate
Operating leases5.68 %
Finance leases5.12 %
Schedule of Operating Lease Maturities
Future minimum lease payments under non-cancellable leases as of December 31, 2020 were as follows:

Year ending December 31,Operating LeasesFinance Leases
2021$23,095 $12,115 
202217,010 9,447 
202310,706 5,921 
20247,965 — 
20257,416 — 
Thereafter9,888 — 
Total future minimum lease payments76,080 27,483 
Less: imputed interest(9,591)(1,742)
Total liability$66,489 $25,741 
Schedule of Finance Lease Maturity
Future minimum lease payments under non-cancellable leases as of December 31, 2020 were as follows:

Year ending December 31,Operating LeasesFinance Leases
2021$23,095 $12,115 
202217,010 9,447 
202310,706 5,921 
20247,965 — 
20257,416 — 
Thereafter9,888 — 
Total future minimum lease payments76,080 27,483 
Less: imputed interest(9,591)(1,742)
Total liability$66,489 $25,741 
Schedule of Lease Maturities Under Prior Guidance Future minimum lease payments under our contracted facilities operating leases as of December 31, 2019 were as follows:
Gross Lease CommitmentsSublease IncomeNet Lease Commitment
(in thousands)
2020$4,856 $(1,219)$3,637 
20216,143 — 6,143 
20225,463 — 5,463 
20235,627 — 5,627 
20245,796 — 5,796 
Thereafter15,794 — 15,794 
Total$43,679 $(1,219)$42,460 
Future minimum lease payments under our contracted colocation operating leases as of December 31, 2019 were as follows:
Lease Commitments
2020$12,105 
20215,637 
20223,271 
2023142 
202463 
Thereafter— 
Total$21,218 
v3.20.4
Goodwill and Intangible Assets (Tables)
12 Months Ended
Dec. 31, 2020
Goodwill and Intangible Assets Disclosure [Abstract]  
Changes in the Carrying Amount of Goodwill
The changes in the carrying amount of goodwill for the years ended December 31, 2020 and 2019 are as follows:
Year ended December 31,
20202019
(in thousands)
Balance, beginning of period$372 $360 
Goodwill acquired635,204 — 
Foreign currency translation14 12 
Balance, end of period$635,590 $372 
Schedule of Intangible Assets
The useful lives of our intangible assets are as follows:

Customer relationships8 years
Developed technology5 years
Trade names3 years
Backlog2 years
Domain names3 years
Internet protocol addresses10 years
IPR&DIndefinite
As of December 31, 2020 and December 31, 2019, our intangible assets consisted of the following:
As of December 31, 2020As of December 31, 2019
Gross carrying valueAccumulated amortizationNet carrying valueGross carrying valueAccumulated amortizationNet carrying value
(in thousands)
Intangible assets:
Customer relationships$69,100 $(2,053)$67,047 $— $— $— 
Developed technology49,500 (2,475)47,025 — — — 
Trade names3,300 (275)3,025 — — — 
Internet protocol addresses2,891 (578)2,313 1,448 (362)1,086 
Backlog2,200 (275)1,925 — — — 
In-process research and development ("IPR&D")368 — 368 — — — 
Domain name
39 — 39 39 — 39 
Total intangible assets$127,398 $(5,656)$121,742 $1,487 $(362)$1,125 
Expected Amortization Expense of Intangible Assets
The estimated future amortization expense intangible assets as of December 31, 2020 is as follows:
As of December 31, 2020
(in thousands)
2021$21,143 
202220,765 
202319,665 
202418,830 
202516,352 
Thereafter24,619 
Total$121,374 
v3.20.4
Debt Instruments (Tables)
12 Months Ended
Dec. 31, 2020
Debt Disclosure [Abstract]  
Carrying Values of Debt Agreements The following table reflects the carrying values of the debt agreements as of December 31, 2019:
As of December 31,
2019
Liability component:
Principal amount—Cash Collateralized Revolving Credit Agreement$20,300 
Less: unamortized debt issuance costs(219)
Less: current portion of long-term debt— 
Long-term debt, less current portion—Cash Collateralized Revolving Credit Agreement$20,081 
v3.20.4
Commitments and Contingencies (Tables)
12 Months Ended
Dec. 31, 2020
Commitments and Contingencies Disclosure [Abstract]  
Purchase Commitments
Aside from our finance and operating lease commitments, including our colocation operating commitments, which have been disclosed in Note 7—Leases, the minimum future purchase commitments relating to our other cost of revenue arrangements and SaaS commitments as of December 31, 2020 were as follows:
Cost of Revenue CommitmentsSaaS AgreementsTotal Purchase Commitments
(in thousands)
2021$25,900 $9,785 $35,685 
20225,894 9,009 14,903 
2023— 9,000 9,000 
2024— — — 
2025— — — 
Thereafter— — — 
Total$31,794 $27,794 $59,588 
v3.20.4
Stockholders' Equity (Tables)
12 Months Ended
Dec. 31, 2020
Stockholders' Equity Note [Abstract]  
Schedule of Stock Option Activity
The following table summarizes stock option activity during the years ended December 31, 2020, 2019 and 2018:
Number of SharesWeighted-Average 
Exercise Price
Weighted-Average
Remaining
Contractual Term
Aggregate
Intrinsic Value
(in thousands)(in years)(in thousands)
Outstanding at January 1, 201810,370 $1.92 8.0$16,901 
Granted3,984 5.32 
Exercised(1,264)2.1 
Cancelled/forfeited(880)2.64 
Outstanding at December 31, 201812,210 2.96 7.8$64,590 
Granted2,516 10.87 
Exercised(2,650)2.45 
Cancelled/forfeited(807)5.10 
Outstanding at December 31, 201911,269 4.68 7.3$173,471 
Granted252 12.96 
Exercised(4,360)3.46 
Cancelled/forfeited(198)8.79 
Outstanding at December 31, 20206,963 $5.63 6.7$569,094 
Vested and exercisable at December 31, 20204,214 $3.71 5.8$352,535 
Unvested and exercisable at December 31, 2020320 $6.23 7.7$25,973 
Employee Stock Purchase Plan, Valuation Assumptions We estimated the fair value of stock option awards during the years ended December 31, 2020, 2019, and 2018 on the date of the grant using the Black-Scholes option pricing model with the following weighted-average assumptions:
Year ended December 31,
202020192018
Fair value of common stock
$85.26 - $96.43
$8.24 - $22.70
$3.86 - $8.16
Expected term (in years)
5.38 - 9.75
6.026.02
Risk-free interest rate
0.31% - 0.67%
1.55% - 2.5%
2.62% - 3.0%
Expected volatility
43.92% - 46.49%
39.1% - 42.7%
40.2% - 41.5%
Dividend yield—%—%— %
We estimated the fair value of shares granted under the ESPP on the first date of the offering period using the Black-Scholes option pricing model with the following assumptions:
Year ended December 31,
20202019
Fair value of common stock
$14.09 - $24.07
$6.02 - $6.92
Expected term (in years)
0.49-0.50
0.47-0.50
Risk-free interest rate
0.10% - 0.14%
1.59% - 2.35%
Expected volatility
50% - 60%
36% - 43%
Dividend yield—%—%
Schedule of Unvested Exercised Options
The activity of non-vested shares as a result of early exercise of options granted to employees and non-employees, is as follows:
Year ended December 31,
202020192018
(in thousands)
Beginning balance200 245 138 
Early exercise of options— 117 238 
Vested(109)(162)(120)
Repurchased— — (11)
Ending balance91 200 245 
Schedule of Restricted Stock Units and Restricted Stock Awards
The following table summarizes RSU activity during the year ended December 31, 2020 and 2019:
Number of SharesWeighted-Average Grant Date Fair Value Per Share
(in thousands)
Nonvested RSUs as of December 31, 2018— $— 
Granted1,644 20.07 
Cancelled/forfeited(3)
Nonvested RSUs as of December 31, 20191,641 $20.07 
Granted4,398 31.22 
Vested(1,377)22.92
Cancelled/forfeited(142)22.58
Nonvested RSUs as of December 31, 20204,520 $30.01 
The activity of revest shares granted to these employees is as follows:
Number of SharesWeighted-Average Grant Date Fair Value Per Share
(in thousands)
Nonvested revest shares as of December 31, 2019— $— 
Restricted896 97.84 
Vested(112)97.84
Cancelled/forfeited— — 
Nonvested revest shares as of December 31, 2020784 $97.84 
The activity of PSUs granted to employees is as follows:
Number of SharesWeighted-Average Grant Date Fair Value Per Share
(in thousands)
Nonvested PSUs as of December 31, 2019— $— 
Granted88 65.11 
Vested— — 
Cancelled/forfeited— — 
Nonvested PSUs as of December 31, 202088 $65.11 
Schedule of Stock-Based Compensation Expense
The following table summarizes the components of total stock-based compensation expense included in the accompanying Consolidated Statements of Operations:
Year ended December 31,
202020192018
(in thousands)
Stock-based compensation expense by caption:
Cost of revenue$3,889 $1,410 $265 
Research and development17,112 2,920 1,332 
Sales and marketing17,028 3,497 1,023 
General and administrative26,404 4,318 1,459 
Total$64,433 $12,145 $4,079 
v3.20.4
Net Loss Per Share Attributable to Common Stockholders (Tables)
12 Months Ended
Dec. 31, 2020
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted The shares issued in the IPO, the shares issued pursuant to the exercise by the underwriters of an option to purchase additional shares, and the shares of Class A and Class B common stock issued upon conversion of the outstanding shares of convertible preferred stock in the IPO are included in the table below weighted for the period outstanding:
Year ended December 31,
202020192018
Class A(1), (3)
Class B(2)
Class A (1)
Class B(2)
Class A
Class B(2)
(in thousands, except per share amounts)
Net loss attributable to common stockholders$(78,114)$(17,818)$(12,084)$(39,466)N/A$(30,935)
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted84,319 19,233 16,022 52,328 N/A24,376 
Net loss per share attributable to common stockholders, basic and diluted$(0.93)$(0.93)$(0.75)$(0.75)N/A$(1.27)
__________
(1)Class A common stock includes the issuance of 12.9 million shares of Class A common stock issued by us in connection with our IPO and shares issued upon the exercise of options subsequent to our IPO.
(2)Class B common stock includes, for all periods presented, the conversion of all of our preferred stock into an aggregate of 53.6 million shares of our Class B common stock upon closing of the IPO.    
(3)Class A common stock includes the issuance of 6.9 million shares of Class A common stock issued by us in connection with our follow-on offering.
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share The potential shares of common stock that were excluded from the computation of diluted net loss per share attributable to common stockholders for the period presented because including them would have been antidilutive are as follows:
Number of Shares
As of December 31,
20202019
(in thousands)
Stock options6,963 11,269 
RSUs4,520 1,641 
Early exercised stock options91 200 
Convertible common stock warrants— 183 
RSAs784 — 
Shares issuable pursuant to the ESPP25 247 
PSUs88 
Total12,471 13,540 
v3.20.4
Income Taxes (Tables)
12 Months Ended
Dec. 31, 2020
Income Tax Disclosure [Abstract]  
Schedule of Loss Before Income Taxes
Loss before income taxes includes the following components:
Year ended December 31,
202020192018
(in thousands)
United States$(86,842)$(30,970)$(20,644)
Foreign(20,570)(20,088)(10,291)
Loss before income taxes$(107,412)$(51,058)$(30,935)
Schedule of Income Tax Expense
The income tax expense (benefit) consists of the following:
Year ended December 31,
202020192018
(in thousands)
Current tax provision (benefit):
Federal
$— $— $— 
State
420 106 81 
Foreign
1,050 386 104 
Deferred tax provision (benefit):
Federal
(10,631)— — 
State
(2,319)— — 
Foreign
— — — 
Total tax expense (benefit)$(11,480)$492 $185 
Schedule of Effective Tax Rate Reconciliation Reconciliation between our effective tax rate on income from continuing operations and the U.S. federal statutory rate is as follows:
Year ended December 31,
202020192018
Provision at federal statutory tax rate21 %21 %21 %
State taxes, net of federal tax impact— — 
Change in valuation allowance(35)(12)(11)
Foreign tax rate differential(5)(8)(7)
Acquisition related expenses(2)— — 
Stock-based compensation30 — — 
Other— (2)(4)
Effective tax rate11 %(1)%(1)%
Schedule of Deferred Tax Assets and Liabilities
Our deferred tax assets and liabilities were as follows:
Year ended December 31,
20202019
(in thousands)
Reserves and accruals$941 $1,839 
Lease liability17,481 — 
Stock-based compensation3,969 1,116 
Net operating losses109,281 30,750 
Depreciation of property, plant and equipment576 — 
Amortization of intangible assets— 642 
Other— 1,753 
Deferred tax assets132,248 36,100 
Deferred Revenue(673)— 
Right-of-use Asset(16,160)— 
Depreciation of property, plant and equipment— (285)
Amortization of intangible assets(31,188)— 
State Taxes(4,319)(2,034)
Other(133)— 
Deferred tax liabilities$(52,473)$(2,319)
Valuation allowance(80,028)(33,781)
Net deferred tax (liabilities) assets$(253)$— 
Schedule of Unrecognized Tax Benefits
A reconciliation of the Company’s unrecognized tax benefits is as follows (in thousands):
Year ended December 31,
20202019
Balance at beginning of year
$— $— 
Increases related to prior year tax positions
2,328 — 
Increases related to current year tax positions
858 — 
Balance at end of year
$3,186 $— 
v3.20.4
Information About Revenue and Geographic Areas (Tables)
12 Months Ended
Dec. 31, 2020
Segment Reporting [Abstract]  
Schedule of Long-Lived Assets by Geographic Region
The following table presents long-lived assets by geographic region:
As of December 31,As of December 31,
20202019
(in thousands)
United States$65,054 $40,747 
All other countries30,925 19,290 
Total long-lived assets$95,979 $60,037 
v3.20.4
Nature of Business (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
May 26, 2020
USD ($)
$ / shares
shares
May 21, 2019
USD ($)
$ / shares
shares
May 03, 2019
Dec. 31, 2020
operatingMarket
shares
Dec. 31, 2020
USD ($)
operatingMarket
shares
Dec. 31, 2019
USD ($)
shares
Dec. 31, 2018
USD ($)
May 20, 2019
stockSeries
$ / shares
Class of Stock [Line Items]                
Operating markets | operatingMarket       56 56      
Common stock, stock split ratio     0.5          
Proceeds from initial public offering, net of underwriting fees | $         $ 0 $ 192,510 $ 0  
Number of convertible preferred stock series | stockSeries               7
Preferred stock, par value (in dollars per share) | $ / shares               $ 0.00002
Preferred stock, shares issued (in shares)       0 0 0    
Preferred stock, shares outstanding (in shares)       0 0 0    
Proceeds from follow-on public offering, net of underwriting fees | $         $ 274,896 $ 0 $ 0  
Common Class A                
Class of Stock [Line Items]                
Shares issued (in shares) 6,900,000 12,900,000            
Common stock price per share (in dollars per share) | $ / shares $ 41.50              
Proceeds from follow-on public offering, net of underwriting fees | $ $ 274,900              
Common Class B                
Class of Stock [Line Items]                
Number of shares converted (in shares)   53,600,000   0 144,635 224,102    
Convertible securities, conversion ratio   1            
IPO | Common Class A                
Class of Stock [Line Items]                
Shares issued (in shares)   12,937,500            
Common stock price per share (in dollars per share) | $ / shares   $ 16.00            
Proceeds from initial public offering, net of underwriting fees | $   $ 192,500            
Over-Allotment Option | Common Class A                
Class of Stock [Line Items]                
Shares issued (in shares) 900,000 1,687,500            
Proceeds from initial public offering, net of underwriting fees | $   $ 25,100            
Common Stock | Common Class A                
Class of Stock [Line Items]                
Shares issued (in shares)         6,900,000 12,937,500    
Common Stock | Common Class B                
Class of Stock [Line Items]                
Number of shares converted (in shares)   53,630,213            
v3.20.4
Summary of Significant Accounting Policies - Cash, Cash Equivalents and Marketable Securities and Restricted Cash (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Nov. 30, 2020
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Cash and Cash Equivalents [Line Items]        
Interest income   $ 1,628 $ 3,287 $ 939
Restricted cash   1,000 70,100  
Cash released from restriction $ 70,000      
Restricted cash included in other assets   893 0 $ 0
Cash and Cash Equivalents        
Cash and Cash Equivalents [Line Items]        
Interest income   1,400 3,100  
Restricted Cash        
Cash and Cash Equivalents [Line Items]        
Interest income   $ 200 $ 100  
v3.20.4
Summary of Significant Accounting Policies - Incremental Costs to Obtain a Contract With Customer (Details)
Dec. 31, 2020
Customer arrangement  
Capitalized Contract Cost [Line Items]  
Capitalized contract cost, useful life 5 years
New arrangements and renewals  
Capitalized Contract Cost [Line Items]  
Capitalized contract cost, useful life 5 years
v3.20.4
Summary of Significant Accounting Policies - Concentrations of Credit Risk (Details)
12 Months Ended
Dec. 31, 2020
Customer Concentration Risk | Accounts Receivable | Customer One  
Concentration Risk [Line Items]  
Concentration risk, percentage 10.00%
v3.20.4
Summary of Significant Accounting Policies - Property and Equipment (Details)
12 Months Ended
Dec. 31, 2020
Computer and networking equipment | Minimum  
Property, Plant and Equipment [Line Items]  
Property and equipment, useful life 3 years
Computer and networking equipment | Maximum  
Property, Plant and Equipment [Line Items]  
Property and equipment, useful life 5 years
Leasehold improvements | Maximum  
Property, Plant and Equipment [Line Items]  
Property and equipment, useful life 5 years
Furniture and fixtures  
Property, Plant and Equipment [Line Items]  
Property and equipment, useful life 3 years
Office equipment  
Property, Plant and Equipment [Line Items]  
Property and equipment, useful life 3 years
Internal-use software  
Property, Plant and Equipment [Line Items]  
Property and equipment, useful life 3 years
v3.20.4
Summary of Significant Accounting Policies - Intangible Assets (Details)
12 Months Ended
Dec. 31, 2020
Customer relationships  
Finite-Lived Intangible Assets [Line Items]  
Useful life 8 years
Developed Technology  
Finite-Lived Intangible Assets [Line Items]  
Useful life 5 years
Trade name  
Finite-Lived Intangible Assets [Line Items]  
Useful life 3 years
Backlog  
Finite-Lived Intangible Assets [Line Items]  
Useful life 2 years
Domain name  
Finite-Lived Intangible Assets [Line Items]  
Useful life 3 years
Internet protocol addresses  
Finite-Lived Intangible Assets [Line Items]  
Useful life 10 years
v3.20.4
Summary of Significant Accounting Policies - Cost of Revenue (Details)
12 Months Ended
Dec. 31, 2020
Bandwidth contracts  
Disaggregation of Revenue [Line Items]  
Typical duration of contracts 1 year
Colocation services contracts  
Disaggregation of Revenue [Line Items]  
Typical duration of contracts 3 years
v3.20.4
Summary of Significant Accounting Policies - Advertising Expense (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Accounting Policies [Abstract]      
Advertising expense $ 3.8 $ 1.4 $ 0.5
v3.20.4
Summary of Significant Accounting Policies - Recently Adopted Accounting Pronouncements (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Jan. 01, 2020
Dec. 31, 2019
Accounting Policies [Abstract]      
Operating lease right-of-use assets, net $ 60,019 $ 54,700 $ 0
Operating lease, liability $ 66,489 $ 56,300  
v3.20.4
Revenue - Narrative (Details) - USD ($)
12 Months Ended
Oct. 01, 2020
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Revenue from Contract with Customer [Abstract]        
Enterprise customer threshold   $ 100,000    
Revenue, performance obligation, description of payment terms   Payment terms on invoiced amounts are typically 15 to 45 days.    
Increase in contract liabilities from business acquisition $ 14,600,000      
Remaining performance obligation   $ 155,300,000    
Amortization of deferred contract costs   $ 3,516,000 $ 2,294,000 $ 0
v3.20.4
Revenue - Revenue by Geographic Area (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Disaggregation of Revenue [Line Items]      
Revenue $ 290,874 $ 200,462 $ 144,563
United States      
Disaggregation of Revenue [Line Items]      
Revenue 196,538 142,842 110,811
Asia Pacific      
Disaggregation of Revenue [Line Items]      
Revenue 44,060 18,806 7,194
Europe      
Disaggregation of Revenue [Line Items]      
Revenue 32,768 27,595 21,529
All other countries      
Disaggregation of Revenue [Line Items]      
Revenue $ 17,508 $ 11,219 $ 5,029
v3.20.4
Revenue - Revenue by Customer Type (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2019
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Disaggregation of Revenue [Line Items]        
Revenue   $ 290,874 $ 200,462 $ 144,563
Enterprise customers        
Disaggregation of Revenue [Line Items]        
Revenue $ 174,926 256,483   121,639
Non-enterprise customers        
Disaggregation of Revenue [Line Items]        
Revenue $ 25,536 $ 34,391   $ 22,924
v3.20.4
Revenue - Contract Assets and Liabilities (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Revenue from Contract with Customer [Abstract]    
Contract assets $ 387 $ 271
Contract liabilities 18,020 317
Revenue recognized in the period from:    
Amounts included in contract liability at the beginning of the period $ 310 $ 1,539
v3.20.4
Revenue - Remaining Performance Obligation (Details) - Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2021-01-01
Dec. 31, 2020
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]  
Remaining performance obligation, percentage 71.00%
Remaining performance obligation, expected time period of recognition 12 months
v3.20.4
Revenue - Costs to Obtain Contracts (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Revenue from Contract with Customer [Abstract]    
Deferred contract costs $ 19,332 $ 6,804
v3.20.4
Investments and Fair Value Measurements - Cash, Cash Equivalent and Marketable Securities (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Debt Securities, Available-for-sale [Line Items]      
Cash and cash equivalents $ 62,900 $ 16,142 $ 36,963
Short-term marketable securities 131,283 114,967  
Long-term marketable securities 20,448 0  
Total marketable securities 151,731 114,967  
Corporate notes and bonds      
Debt Securities, Available-for-sale [Line Items]      
Short-term marketable securities 14,314 17,470  
Total marketable securities 14,314 17,470  
Commercial paper      
Debt Securities, Available-for-sale [Line Items]      
Short-term marketable securities 41,445 5,481  
Total marketable securities 41,445 5,481  
U.S. Treasury securities      
Debt Securities, Available-for-sale [Line Items]      
Short-term marketable securities 75,524 78,160  
Long-term marketable securities 20,448 0  
Total marketable securities 95,972 78,160  
Asset-backed securities      
Debt Securities, Available-for-sale [Line Items]      
Short-term marketable securities 0 13,856  
Total marketable securities 0 13,856  
Cash      
Debt Securities, Available-for-sale [Line Items]      
Cash and cash equivalents 21,273 11,623  
Money market funds      
Debt Securities, Available-for-sale [Line Items]      
Cash and cash equivalents 36,629 2,020  
U.S. Treasury securities      
Debt Securities, Available-for-sale [Line Items]      
Cash and cash equivalents 0 0  
Commercial paper      
Debt Securities, Available-for-sale [Line Items]      
Cash and cash equivalents $ 4,998 $ 2,499  
v3.20.4
Investments and Fair Value Measurements - Available-For-Sale Investments (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost $ 151,626 $ 114,870
Gross Unrealized Gain 110 98
Gross Unrealized Loss (5) (1)
Fair Value 151,731 114,967
Corporate notes and bonds    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 14,297 17,462
Gross Unrealized Gain 17 9
Gross Unrealized Loss 0 (1)
Fair Value 14,314 17,470
Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 41,445 5,481
Gross Unrealized Gain 0 0
Gross Unrealized Loss 0 0
Fair Value 41,445 5,481
U.S. Treasury securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 95,884 78,075
Gross Unrealized Gain 93 85
Gross Unrealized Loss (5) 0
Fair Value 95,972 78,160
Asset-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 0 13,852
Gross Unrealized Gain 0 4
Gross Unrealized Loss 0 0
Fair Value $ 0 $ 13,856
v3.20.4
Investments and Fair Value Measurements - Narrative (Details)
$ in Millions
Dec. 31, 2020
USD ($)
security
Dec. 31, 2019
USD ($)
security
Fair Value Disclosures [Abstract]    
Securities in a continuous loss position (in securities) | security 0 0
Restricted cash $ 1.0 $ 70.1
Restricted cash included in other assets $ 0.9  
v3.20.4
Investments and Fair Value Measurements - Assets and Liabilities at Fair Value (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents $ 41,627 $ 4,519
Marketable securities 151,731 114,967
Restricted cash 980 70,087
Total financial assets 194,338 189,573
Corporate notes and bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 14,314 17,470
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 41,445 5,481
U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 95,972 78,160
Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 0 13,856
Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 36,629 2,020
Restricted cash 980 70,087
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 4,998  
U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents   2,499
Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 36,629 2,020
Marketable securities 0 0
Restricted cash 980 70,087
Total financial assets 37,609 72,107
Level 1 | Corporate notes and bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 0 0
Level 1 | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 0 0
Level 1 | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 0 0
Level 1 | Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities   0
Level 1 | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 36,629 2,020
Restricted cash 980 70,087
Level 1 | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents  
Level 1 | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents   0
Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 4,998 2,499
Marketable securities 151,731 114,967
Restricted cash 0 0
Total financial assets 156,729 117,466
Level 2 | Corporate notes and bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 14,314 17,470
Level 2 | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 41,445 5,481
Level 2 | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 95,972 78,160
Level 2 | Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities   13,856
Level 2 | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 0 0
Restricted cash 0 0
Level 2 | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 4,998  
Level 2 | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents   2,499
Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 0 0
Marketable securities 0 0
Restricted cash 0 0
Total financial assets 0 0
Level 3 | Corporate notes and bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 0 0
Level 3 | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 0 0
Level 3 | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities 0 0
Level 3 | Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities   0
Level 3 | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 0 0
Restricted cash 0 0
Level 3 | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents $ 0  
Level 3 | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents   $ 0
v3.20.4
Business Combinations - Narrative (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Oct. 01, 2020
USD ($)
cofounder
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
$ / shares
Dec. 31, 2019
USD ($)
$ / shares
Dec. 31, 2018
USD ($)
Oct. 12, 2020
$ / shares
May 31, 2019
$ / shares
Business Acquisition [Line Items]              
Common stock, par value (in dollars per share) | $ / shares   $ 0.00002 $ 0.00002 $ 0.00002      
Revenue     $ 290,874 $ 200,462 $ 144,563    
Net loss     95,932 $ 51,550 $ 30,935    
Common Class A              
Business Acquisition [Line Items]              
Common stock, par value (in dollars per share) | $ / shares           $ 0.00002 $ 0.00002
Signal Sciences Corp              
Business Acquisition [Line Items]              
Business acquisition, percentage of voting interests acquired 100.00%            
Aggregate consideration transferred $ 759,400            
Cash consideration transferred 223,000            
Acquisition, value of equity consideration 536,400            
Unvested stock option assumed, fair value 21,800            
Amount allocated to purchase price 1,100            
Amount allocated to future services $ 20,700            
Amount allocated to future services, recognition period 2 years 6 months            
Unvested stock options assumed, conversion ratio 10.00%            
Number of cofounders with shares subject to revesting | cofounder 3            
Shares held back for restricted stock awards, revesting period 2 years            
Business combination, valuation finalization period 1 year            
Estimated useful life (in years) 6 years 7 months 6 days            
Tax benefit from release of valuation allowance     13,000        
Acquisition related costs     $ 20,800        
Revenue   $ 6,700          
Net loss   $ 23,000          
Signal Sciences Corp | Common Class A              
Business Acquisition [Line Items]              
Shares issued related to a business combination (in shares) | shares 6,367,709            
Number of shares issued in acquisition (in shares) | shares 5,471,210            
Number of shares restricted for stock awards (in shares) | shares 896,499            
Common stock, par value (in dollars per share) | $ / shares $ 0.00002            
Unvested stock options assumed (in shares) | shares 251,754            
v3.20.4
Business Combinations - Assets Acquired and Liabilities (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Oct. 01, 2020
Dec. 31, 2019
Dec. 31, 2018
Business Acquisition [Line Items]        
Goodwill $ 635,590   $ 372 $ 360
Signal Sciences Corp        
Business Acquisition [Line Items]        
Cash and cash equivalents   $ 21,501    
Other current assets   6,419    
Intangible assets, net   124,100    
Other non-current assets   8,094    
Total assets acquired   160,114    
Current liabilities   (14,755)    
Non-current liabilities   (21,170)    
Total liabilities assumed   (35,925)    
Net assets acquired   124,189    
Total acquisition consideration   759,393    
Goodwill   $ 635,204    
v3.20.4
Business Combinations - Finite-Lived Intangible Assets (Details) - Signal Sciences Corp
$ in Thousands
Oct. 01, 2020
USD ($)
Business Acquisition [Line Items]  
Total intangible assets acquired $ 124,100
Estimated useful life (in years) 6 years 7 months 6 days
Customer relationships  
Business Acquisition [Line Items]  
Total intangible assets acquired $ 69,100
Estimated useful life (in years) 8 years
Developed Technology  
Business Acquisition [Line Items]  
Total intangible assets acquired $ 49,500
Estimated useful life (in years) 5 years
Trade name  
Business Acquisition [Line Items]  
Total intangible assets acquired $ 3,300
Estimated useful life (in years) 3 years
Backlog  
Business Acquisition [Line Items]  
Total intangible assets acquired $ 2,200
Estimated useful life (in years) 2 years
v3.20.4
Business Combinations - Pro Forma Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Business Combinations [Abstract]    
Revenue $ 313,665 $ 218,529
Net loss $ (159,248) $ (178,124)
v3.20.4
Balance Sheet Information - Allowance for Doubtful Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Accounts Receivable, Allowance for Credit Loss [Roll Forward]      
Beginning balance $ 1,816 $ 1,679  
Additions to the reserves 1,719 360 $ 599
Write-offs and adjustments (287) (223)  
Ending balance $ 3,248 $ 1,816 $ 1,679
v3.20.4
Balance Sheet Information - Property and equipment (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Property, Plant and Equipment [Line Items]    
Property and equipment, gross $ 157,632 $ 108,276
Accumulated depreciation and amortization (61,653) (48,239)
Property and equipment, net 95,979 60,037
Computer and networking equipment    
Property, Plant and Equipment [Line Items]    
Property and equipment, gross 129,998 89,830
Leasehold improvements    
Property, Plant and Equipment [Line Items]    
Property and equipment, gross 3,817 3,285
Furniture and fixtures    
Property, Plant and Equipment [Line Items]    
Property and equipment, gross 1,092 681
Office equipment    
Property, Plant and Equipment [Line Items]    
Property and equipment, gross 659 579
Internal-use software    
Property, Plant and Equipment [Line Items]    
Property and equipment, gross 22,066 13,901
Property and equipment, net $ 14,200 $ 8,500
v3.20.4
Balance Sheet Information - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Property, Plant and Equipment [Line Items]    
Depreciation and amortization $ 19,800 $ 16,400
Property and equipment, net 95,979 60,037
Finance lease, right-of-use asset, before accumulated amortization 36,200 13,700
Finance lease, right-of-use asset, accumulated amortization 6,700 3,800
Internal-use software    
Property, Plant and Equipment [Line Items]    
Depreciation and amortization 2,400 2,200
Property and equipment, net $ 14,200 $ 8,500
v3.20.4
Balance Sheet Information - Accrued Expenses (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Balance Sheet Related Disclosures [Abstract]    
Accrued compensation and related benefits $ 17,840 $ 8,734
Sales and use tax payable 6,274 3,938
Accrued colocation and bandwidth costs 3,644 3,237
Accrued acquisition-related costs 2,208 0
Other accrued liabilities 4,368 3,969
Total accrued expenses $ 34,334 $ 19,878
v3.20.4
Balance Sheet Information - Other Current Liabilities (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Balance Sheet Related Disclosures [Abstract]    
Deferred revenue $ 15,916 $ 317
Accrued computer and networking equipment 3,126 7,060
Liability for early-exercised stock options (see Note 11) 255 467
Other current liabilities 380 325
Total other current liabilities $ 19,677 $ 8,169
v3.20.4
Balance Sheet Information - Other Long-Term Liabilities (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Balance Sheet Related Disclosures [Abstract]    
Deferred revenue, non-current $ 2,104 $ 0
CARES Act payroll tax deferral 1,676 0
Deferred rent 0 634
Other long-term liabilities 620 404
Total other long-term liabilities $ 4,400 $ 1,038
v3.20.4
Balance Sheet Information - Accumulated Other Comprehensive Income (Loss) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning balance $ 257,652 $ (131,927) $ (107,006)
Other comprehensive income (loss) (190) 232 (12)
Ending balance 1,061,865 257,652 (131,927)
Foreign Currency Translation      
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning balance 99 (12) (11)
Other comprehensive income (loss) (135) 111 (1)
Ending balance (36) 99 (12)
Available-for-sale investments      
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning balance 97 (24) (13)
Other comprehensive income (loss) (55) 121 (11)
Ending balance 42 97 (24)
Accumulated Other Comprehensive Income (Loss)      
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning balance 196 (36) (24)
Other comprehensive income (loss) (190) 232 (12)
Ending balance $ 6 $ 196 $ (36)
v3.20.4
Leases - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Oct. 01, 2020
Jan. 01, 2020
Lessee, Lease, Description [Line Items]          
Subleases, remaining lease terms (in years) 1 year        
Sublease income $ 1,300 $ 1,200 $ 900    
Operating lease right-of-use assets, net 60,019 $ 0     $ 54,700
Total liability 66,489       $ 56,300
Lease not yet commenced, commitment amount $ 7,900        
Signal Sciences Corp          
Lessee, Lease, Description [Line Items]          
Operating lease right-of-use assets, net       $ 5,800  
Total liability       $ 6,200  
Minimum          
Lessee, Lease, Description [Line Items]          
Remaining lease terms, operating (in years) 1 year        
Remaining lease terms, finance (in years) 1 year        
Lease not yet commenced, term of contract 3 years        
Maximum          
Lessee, Lease, Description [Line Items]          
Remaining lease terms, operating (in years) 7 years        
Remaining lease terms, finance (in years) 7 years        
Lease not yet commenced, term of contract 6 years        
v3.20.4
Leases - Lease Cost (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2020
USD ($)
Leases [Abstract]  
Operating lease cost $ 21,765
Variable lease cost 4,363
Short-term lease cost 0
Total operating lease costs 26,128
Amortization of assets under finance lease 2,858
Interest 688
Total finance lease cost $ 3,546
v3.20.4
Leases - Supplemental Lease Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Cash paid for amounts included in the measurement of lease liabilities:      
Payments for operating leases included in cash from operating activities $ 18,264    
Payments for finance leases included in cash from financing activities 5,773 $ 1,370 $ 1,215
Payments for finance leases included in cash from operating activities 688    
Assets obtained in exchange for lease obligations:      
Operating leases 23,827 0 0
Finance leases $ 22,541 $ 0 $ 0
Weighted Average Remaining Lease term (in years)      
Operating lease, weighted average remaining lease term (in years) 4 years 5 months 8 days    
Finance lease, weighted average remaining lease term (in years) 2 years 6 months 3 days    
Weighted Average Discount Rate      
Operating lease, weighted average discount rate 5.68%    
Finance lease, weighted average discount rate 5.12%    
v3.20.4
Leases - Lease Liability Maturity (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Jan. 01, 2020
Operating Leases    
2021 $ 23,095  
2022 17,010  
2023 10,706  
2024 7,965  
2025 7,416  
Thereafter 9,888  
Total future minimum lease payments 76,080  
Less: imputed interest (9,591)  
Total liability 66,489 $ 56,300
Finance Leases    
2021 12,115  
2022 9,447  
2023 5,921  
2024 0  
2025 0  
Thereafter 0  
Total future minimum lease payments 27,483  
Less: imputed interest (1,742)  
Total liability $ 25,741  
v3.20.4
Leases - Future Minimum Lease Payments Under Prior Guidance (Details)
$ in Thousands
Dec. 31, 2019
USD ($)
Facilities  
Gross Lease Commitments  
2020 $ 4,856
2021 6,143
2022 5,463
2023 5,627
2024 5,796
Thereafter 15,794
Total 43,679
Sublease Income  
Sublease income, due 2020 (1,219)
Sublease income, due 2021 0
Sublease income, due 2022 0
Sublease income, due 2023 0
Sublease income, due 2024 0
Sublease income, due thereafter 0
Sublease income, total (1,219)
Net Lease Commitment  
Net lease commitment, due 2020 3,637
Net lease commitment, due 2021 6,143
Net lease commitment, due 2022 5,463
Net lease commitment, due 2023 5,627
Net lease commitment, due 2024 5,796
Net lease commitment, due thereafter 15,794
Net lease commitment due, total 42,460
Colocation Assets  
Gross Lease Commitments  
2020 12,105
2021 5,637
2022 3,271
2023 142
2024 63
Thereafter 0
Total $ 21,218
v3.20.4
Goodwill and Intangible Assets - Goodwill (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Goodwill [Roll Forward]    
Balance, beginning of period $ 372 $ 360
Goodwill acquired 635,204 0
Foreign currency translation 14 12
Balance, end of period $ 635,590 $ 372
v3.20.4
Goodwill and Intangible Assets - Intangible Assets (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Finite-Lived Intangible Assets [Line Items]    
Accumulated amortization $ (5,656) $ (362)
Net carrying value 121,374  
Gross carrying value 127,398 1,487
Intangible assets, net 121,742 1,125
Customer relationships    
Finite-Lived Intangible Assets [Line Items]    
Gross carrying value 69,100 0
Accumulated amortization (2,053) 0
Net carrying value 67,047 0
Developed Technology    
Finite-Lived Intangible Assets [Line Items]    
Gross carrying value 49,500 0
Accumulated amortization (2,475) 0
Net carrying value 47,025 0
Trade name    
Finite-Lived Intangible Assets [Line Items]    
Gross carrying value 3,300 0
Accumulated amortization (275) 0
Net carrying value 3,025 0
Internet protocol addresses    
Finite-Lived Intangible Assets [Line Items]    
Gross carrying value 2,891 1,448
Accumulated amortization (578) (362)
Net carrying value 2,313 1,086
Backlog    
Finite-Lived Intangible Assets [Line Items]    
Gross carrying value 2,200 0
Accumulated amortization (275) 0
Net carrying value 1,925 0
In-process research and development ("IPR&D")    
Finite-Lived Intangible Assets [Line Items]    
Gross carrying value 368 0
Accumulated amortization 0 0
Net carrying value 368 0
Domain name    
Finite-Lived Intangible Assets [Line Items]    
Gross carrying value 39 39
Accumulated amortization 0 0
Net carrying value $ 39 $ 39
v3.20.4
Goodwill and Intangible Assets - Narrative (Details) - USD ($)
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Finite-Lived Intangible Assets [Line Items]      
Goodwill, impairment loss $ 0 $ 0 $ 0
Amortization of intangible assets 5,300,000 $ 100,000 $ 100,000
Customer relationships      
Finite-Lived Intangible Assets [Line Items]      
Intangible assets purchased 69,100,000    
Developed Technology      
Finite-Lived Intangible Assets [Line Items]      
Intangible assets purchased 49,500,000    
Trade name      
Finite-Lived Intangible Assets [Line Items]      
Intangible assets purchased 3,300,000    
Backlog      
Finite-Lived Intangible Assets [Line Items]      
Intangible assets purchased 2,200,000    
Internet protocol addresses      
Finite-Lived Intangible Assets [Line Items]      
Intangible assets purchased 1,400,000    
In-process research and development ("IPR&D")      
Finite-Lived Intangible Assets [Line Items]      
Intangible assets purchased $ 400,000    
v3.20.4
Goodwill and Intangible Assets - Expected Amortization of Intangible Assets (Details)
$ in Thousands
Dec. 31, 2020
USD ($)
Goodwill and Intangible Assets Disclosure [Abstract]  
2021 $ 21,143
2022 20,765
2023 19,665
2024 18,830
2025 16,352
Thereafter 24,619
Net carrying value $ 121,374
v3.20.4
Debt Instruments - Loan and Security Agreement (Details) - USD ($)
1 Months Ended 12 Months Ended
Nov. 04, 2019
Nov. 30, 2020
Dec. 31, 2018
Nov. 30, 2017
Aug. 31, 2016
Nov. 30, 2014
Sep. 30, 2013
Jul. 31, 2013
Debt Instrument [Line Items]                
Extinguishment of debt   $ 20,300,000            
Loan and Security Agreement                
Debt Instrument [Line Items]                
Debt facility, maximum borrowing amount       $ 30,000,000.0 $ 17,500,000 $ 15,000,000.0 $ 5,000,000.0 $ 2,500,000
Amount of debt outstanding     $ 29,200,000          
Extinguishment of debt $ 20,000,000.0              
Line of Credit | Loan and Security Agreement | Prime Rate                
Debt Instrument [Line Items]                
Basis spread on variable rate     1.75%          
v3.20.4
Debt Instruments - Credit Facility (Details) - USD ($)
1 Months Ended 12 Months Ended
Jul. 08, 2019
Nov. 30, 2020
Dec. 31, 2018
Debt Instrument [Line Items]      
Extinguishment of debt   $ 20,300,000  
Second Lien Credit Facility      
Debt Instrument [Line Items]      
Debt facility, maximum borrowing amount     $ 30,000,000.0
Amount of debt outstanding     $ 20,000,000.0
Extinguishment of debt $ 20,000,000.0    
Line of Credit | Second Lien Credit Facility | Prime Rate      
Debt Instrument [Line Items]      
Basis spread on variable rate     4.25%
v3.20.4
Debt Instruments - Cash Collateralized Revolving Credit Agreement (Details) - USD ($)
1 Months Ended 12 Months Ended
Nov. 30, 2020
Nov. 30, 2019
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Line of Credit Facility [Line Items]          
Extinguishment of debt $ 20,300,000        
Cash released from restriction $ 70,000,000.0        
Interest expense     $ 900,000 $ 5,200,000 $ 1,900,000
Line of Credit          
Line of Credit Facility [Line Items]          
Interest expense       4,700,000 1,700,000
Capital Lease Obligations          
Line of Credit Facility [Line Items]          
Interest expense       500,000 $ 200,000
Credit Agreement          
Line of Credit Facility [Line Items]          
Amount of debt outstanding       20,300,000  
Credit Agreement | Line of Credit          
Line of Credit Facility [Line Items]          
Debt facility, maximum borrowing amount   $ 70,000,000.0      
Effective interest rate 3.46%        
Commitment fee percentage   0.20%      
Amount of debt outstanding     $ 0 $ 20,300,000  
Credit Agreement | Line of Credit | LIBOR          
Line of Credit Facility [Line Items]          
Basis spread on variable rate   1.50%      
v3.20.4
Debt Instruments - Carrying Values of Debt Agreements (Details) - Credit Agreement
$ in Thousands
Dec. 31, 2019
USD ($)
Debt Instrument [Line Items]  
Principal amount $ 20,300
Less: unamortized debt issuance costs (219)
Less: current portion of long-term debt 0
Long-term debt, less current portion $ 20,081
v3.20.4
Commitments and Contingencies - Purchase Commitments (Details)
$ in Thousands
Dec. 31, 2020
USD ($)
Long-term Purchase Commitment [Line Items]  
2021 $ 35,685
2022 14,903
2023 9,000
2024 0
2025 0
Thereafter 0
Total 59,588
Cost of Revenue Commitments  
Long-term Purchase Commitment [Line Items]  
2021 25,900
2022 5,894
2023 0
2024 0
2025 0
Thereafter 0
Total 31,794
SaaS Agreements  
Long-term Purchase Commitment [Line Items]  
2021 9,785
2022 9,009
2023 9,000
2024 0
2025 0
Thereafter 0
Total $ 27,794
v3.20.4
Commitments and Contingencies - Narrative (Details)
$ in Millions
Dec. 31, 2020
USD ($)
Sep. 27, 2020
lawsuit
Dec. 31, 2019
USD ($)
Commitments and Contingencies Disclosure [Abstract]      
Sales and use tax payable | $ $ 6.3   $ 3.9
Number of lawsuits consolidated   2  
Number of lawsuits   1  
v3.20.4
Stockholders' Equity - Common Stock and Preferred Stock (Details)
Dec. 31, 2020
$ / shares
shares
Oct. 12, 2020
$ / shares
Dec. 31, 2019
$ / shares
shares
May 31, 2019
vote
$ / shares
shares
Class of Stock [Line Items]        
Common stock, shares authorized (in shares) 1,094,129,050   1,094,129,050  
Common stock, par value (in dollars per share) | $ / shares $ 0.00002   $ 0.00002  
Common stock, shares issued (in shares) 113,623,196   94,817,715  
Common stock, shares outstanding (in shares) 113,623,196   94,817,715  
Preferred stock, shares authorized (in shares)       10,000,000.0
Preferred stock, par value (in dollars per share) | $ / shares       $ 0.00002
Preferred stock, shares outstanding (in shares) 0   0  
Preferred stock, shares issued (in shares) 0   0  
Common Class A        
Class of Stock [Line Items]        
Common stock, shares authorized (in shares)       1,000,000,000.0
Common stock, par value (in dollars per share) | $ / shares   $ 0.00002   $ 0.00002
Common stock, voting rights (votes per share) | vote       1
Common stock, shares issued (in shares) 103,400,000   61,000,000.0  
Common stock, shares outstanding (in shares) 103,400,000   61,000,000.0  
Common Class B        
Class of Stock [Line Items]        
Common stock, shares authorized (in shares)       94,100,000
Common stock, par value (in dollars per share) | $ / shares   $ 0.00002   $ 0.00002
Common stock, voting rights (votes per share) | vote       10
Common stock, shares issued (in shares) 10,200,000   33,900,000  
Common stock, shares outstanding (in shares) 10,200,000   33,900,000  
v3.20.4
Stockholders' Equity - Equity Incentive Plans (Details) - USD ($)
1 Months Ended
Oct. 01, 2020
May 31, 2019
Dec. 31, 2020
Dec. 31, 2019
Common Class A | Signal Sciences Corp        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Unvested stock options assumed (in shares) 251,754      
Shares issuable pursuant to the ESPP        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Maximum deduction percentage of eligible compensation   15.00% 15.00%  
Maximum purchase value during offering period, per employee   $ 25,000    
Shares issuable pursuant to the ESPP | Common Class A        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock, shares reserved for future issuance (in shares)     3,500,000 2,500,000
Common stock, shares available for future issuance (in shares)     2,800,000 2,200,000
2011 Equity Incentive Plan | Common Class B        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock, shares reserved for future issuance (in shares)     23,600,000 23,600,000
Common stock, shares available for future issuance (in shares)     0 0
2019 Equity Incentive Plan | Common Class A        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock, shares reserved for future issuance (in shares)     19,400,000 14,400,000
Common stock, shares available for future issuance (in shares)     12,800,000 12,400,000
v3.20.4
Stockholders' Equity - Stock Options (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Pre-tax intrinsic value $ 200,900 $ 32,600 $ 3,000
Vesting of early exercised stock options $ 10,300 $ 6,100 $ 3,600
Weighted-average grant date fair value (in dollars per share) $ 86.77 $ 5.77 $ 1.78
Stock-based compensation expense $ 64,433 $ 12,145 $ 4,079
Unrecognized stock-based compensation cost 28,600    
Stock options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense 10,100 7,900 $ 4,100
Incremental cost due to plan modification $ 900 $ 600  
Weighted-average period of recognition 2 years 3 months 14 days    
Stock options | 2011 Equity Incentive Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award expiration period 10 years    
Award vesting percentage per year 25.00%    
Stock options | 2011 Equity Incentive Plan | First Year      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting period 4 years    
Stock options | 2011 Equity Incentive Plan | Remaining Period      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting period 36 months    
Stock options | 2019 Equity Incentive Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award expiration period 10 years    
Award vesting percentage per year 25.00%    
Stock options | 2019 Equity Incentive Plan | First Year      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting period 4 years    
Stock options | 2019 Equity Incentive Plan | Remaining Period      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting period 36 months    
Stock options | Signal Sciences 2014 Equity Stock Options Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award expiration period 10 years    
Award vesting percentage per year 25.00%    
Stock options | Signal Sciences 2014 Equity Stock Options Plan | First Year      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting period 4 years    
Stock options | Signal Sciences 2014 Equity Stock Options Plan | Remaining Period      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting period 36 months    
v3.20.4
Stockholders' Equity - Stock Option Activity (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Number of Shares                
Options outstanding, beginning balance (in shares) 11,269 12,210 10,370          
Granted (in shares) 252 2,516 3,984          
Exercised (in shares) (4,360) (2,650) (1,264)          
Cancelled/forfeited (in shares) (198) (807) (880)          
Options outstanding, ending balance (in shares) 6,963 11,269 12,210 10,370        
Options vested and exercisable (in shares)         4,214      
Unvested and exercisable (in shares)         320      
Stock Options Weighted Average Exercise Price                
Options outstanding, weighted average exercise price, beginning of period (in dollars per share) $ 5.63 $ 4.68 $ 2.96 $ 1.92 $ 5.63 $ 4.68 $ 2.96 $ 1.92
Granted, weighted average exercise price (in dollars per share) 12.96 10.87 5.32          
Exercised, weighted average exercise price (in dollars per share) 3.46 2.45 2.1          
Cancelled/forfeited, weighted average exercise price (in dollars per share) 8.79 5.10 2.64          
Options outstanding, weighted average exercise price, end of period (in dollars per share) $ 5.63 $ 4.68 $ 2.96 $ 1.92        
Vested and exercisable, weighted-average exercise price (in dollars per share)         3.71      
Unvested and exercisable, weighted-average exercise price (in dollars per share)         $ 6.23      
Stock Option Activity, Additional Disclosures                
Weighted-average remaining contractual period 6 years 8 months 12 days 7 years 3 months 18 days 7 years 9 months 18 days 8 years        
Aggregate intrinsic value         $ 569,094 $ 173,471 $ 64,590 $ 16,901
Vested and exercisable, weighted average contractual term 5 years 9 months 18 days              
Share-based Compensation Arrangement by Share-based Payment Award, Options, Unvested, Exercisable, Weighted Average Remaining Contractual Term 7 years 8 months 12 days              
Vested and exercisable, aggregate intrinsic value         352,535      
Unvested and exercisable, aggregate intrinsic value         $ 25,973      
v3.20.4
Stockholders' Equity - Fair Value Assumptions - Stock Options (Details) - $ / shares
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Dividend yield 0.00%    
Stock options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (in years)   6 years 7 days 6 years 7 days
Risk-free interest rate, minimum 0.31% 1.55% 2.62%
Risk-free interest rate, maximum 0.67% 2.50% 3.00%
Expected volatility, minimum 43.92% 39.10% 40.20%
Expected volatility, maximum 46.49% 42.70% 41.50%
Dividend yield 0.00% 0.00% 0.00%
Stock options | Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Fair value of common stock (in shares) $ 85.26 $ 8.24 $ 3.86
Expected term (in years) 5 years 4 months 17 days    
Stock options | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Fair value of common stock (in shares) $ 96.43 $ 22.70 $ 8.16
Expected term (in years) 9 years 9 months    
v3.20.4
Stockholders' Equity - Early Exercise of Stock Options (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2020
Dec. 31, 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares subject to repurchase (in shares) 199,895 245,000 138,000 90,977 199,895
Number of Shares          
Beginning balance (in shares) 199,895 245,000 138,000    
Early exercise of options (in shares) 0 117,000 238,000    
Vested (in shares) (109,000) (162,000) (120,000)    
Repurchased (in shares) 0 0 (11,000)    
Ending balance (in shares) 90,977 199,895 245,000    
Stock options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Other long-term liabilities       $ 0.4 $ 0.9
v3.20.4
Stockholders' Equity - RSUs, Revest Shares, and PSUs (Details) - USD ($)
12 Months Ended
Oct. 01, 2020
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense   $ 64,433,000 $ 12,145,000 $ 4,079,000
Signal Sciences Corp        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Shares held back for restricted stock awards, revesting period 2 years      
Signal Sciences Corp | Common Class A        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares restricted for stock awards (in shares) 896,499      
RSUs        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting period   4 years    
Award vesting percentage per year   25.00%    
Stock-based compensation expense   $ 40,500,000 2,200,000 0
Expense related to modification   4,800,000 $ 0 $ 0
Unrecognized stock-based compensation cost   $ 124,500,000    
Weighted-average period of recognition   3 years 7 days    
RSUs | Remaining Period        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting period   36 months    
RSUs | Other Vesting Terms | Maximum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting period   48 months    
RSUs | Other Vesting Terms | Minimum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting period   36 months    
Revest Shares        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense   $ 11,100,000    
Unrecognized stock-based compensation cost   $ 76,600,000    
Weighted-average period of recognition   1 year 8 months 26 days    
v3.20.4
Stockholders' Equity - Schedule of RSU and RSA Activity (Details) - $ / shares
1 Months Ended 12 Months Ended
Mar. 31, 2020
Dec. 31, 2020
Dec. 31, 2019
Weighted-Average Grant Date Fair Value Per Share      
Forfeited (in dollars per share)    
RSUs      
Number of Shares      
Beginning balance (in shares)   1,641,000 0
Granted (in shares)   4,398,000 1,644,000
Vested (in shares)   (1,377,000)  
Cancelled/forfeited (in shares)   (142,000) (3,000)
Ending balance (in shares)   4,520,000 1,641,000
Weighted-Average Grant Date Fair Value Per Share      
Beginning balance (in dollars per share)   $ 20.07 $ 0
Granted (in dollars per share)   31.22 20.07
Vested (in dollars per share)   22.92  
Forfeited (in dollars per share)   22.58  
Ending balance (in dollars per share)   $ 30.01 $ 20.07
Revest Shares      
Number of Shares      
Beginning balance (in shares)   0  
Granted (in shares)   896,000  
Vested (in shares)   (112,000)  
Cancelled/forfeited (in shares)   0  
Ending balance (in shares)   784,000 0
Weighted-Average Grant Date Fair Value Per Share      
Beginning balance (in dollars per share)   $ 0  
Granted (in dollars per share)   97.84  
Vested (in dollars per share)   97.84  
Forfeited (in dollars per share)   0  
Ending balance (in dollars per share)   $ 97.84 $ 0
PSUs      
Number of Shares      
Beginning balance (in shares)   0  
Granted (in shares) 87,918 88,000  
Vested (in shares)   0  
Cancelled/forfeited (in shares)   0  
Ending balance (in shares)   88,000 0
Weighted-Average Grant Date Fair Value Per Share      
Beginning balance (in dollars per share)   $ 0  
Granted (in dollars per share)   65.11  
Vested (in dollars per share)   0  
Forfeited (in dollars per share)   0  
Ending balance (in dollars per share)   $ 65.11 $ 0
v3.20.4
Stockholders' Equity - Performance Based Restricted Stock Units (PSUs) (Details)
$ in Millions
1 Months Ended 12 Months Ended
Mar. 31, 2020
shares
Dec. 31, 2020
USD ($)
shares
Dec. 31, 2019
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Shares issued for each PSU, ratio 1    
PSUs      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted (in shares) | shares 87,918 88,000  
Award vesting percentage per year 25.00%    
Stock-based compensation expense   $ 1.6  
Unrecognized stock-based compensation cost   $ 3.4  
Weighted-average period of recognition   6 months 21 days  
PSUs | First Year      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Target performance percentage 90.00%    
Award vesting percentage per year 50.00%    
PSUs | Remaining Period      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Target performance percentage 100.00%    
Award vesting percentage per year 100.00%    
PSUs | Performance Target Three      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Target performance percentage 110.00%    
Award vesting percentage per year 200.00%    
PSUs | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Target performance percentage 200.00%    
RSUs      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted (in shares) | shares   4,398,000 1,644,000
Award vesting percentage per year   25.00%  
Unrecognized stock-based compensation cost   $ 124.5  
Weighted-average period of recognition   3 years 7 days  
v3.20.4
Stockholders' Equity - ESPP (Details) - USD ($)
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
May 31, 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Contributions withheld for taxes $ 9,600,000 $ 5,500,000    
Stock-based compensation expense $ 64,433,000 $ 12,145,000 $ 4,079,000  
Common Class A | Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Issuance of common stock under (ESPP in shares) 331,212 305,194 0  
Shares issuable pursuant to the ESPP        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Maximum deduction percentage of eligible compensation 15.00%     15.00%
Stock plan offering period 6 months      
Purchase price of common stock, percentage of fair value 85.00%      
Contributions withheld for taxes     $ 0  
Stock-based compensation expense $ 3,200,000 $ 2,500,000 $ 0  
Unrecognized stock-based compensation cost $ 1,900,000      
Weighted-average period of recognition 4 months 24 days      
v3.20.4
Stockholders' Equity - Fair Value Assumptions - ESPP (Details) - $ / shares
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Dividend yield 0.00%  
Shares issuable pursuant to the ESPP    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Risk-free interest rate, minimum 0.10% 1.59%
Risk-free interest rate, maximum 0.14% 2.35%
Expected volatility, minimum 50.00% 36.00%
Expected volatility, maximum 60.00% 43.00%
Dividend yield   0.00%
Minimum | Shares issuable pursuant to the ESPP    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Fair value of common stock (in shares) $ 14.09 $ 6.02
Expected term (in years) 5 months 26 days 5 months 19 days
Maximum | Shares issuable pursuant to the ESPP    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Fair value of common stock (in shares) $ 24.07 $ 6.92
Expected term (in years) 6 months 6 months
v3.20.4
Stockholders' Equity - Stock-based Compensation Expense (Details) - USD ($)
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense $ 64,433,000 $ 12,145,000 $ 4,079,000
Stock-based compensation capitalized to internal-use software 2,034,000 441,000 0
Cost of revenue      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense 3,889,000 1,410,000 265,000
Research and development      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense 17,112,000 2,920,000 1,332,000
Sales and marketing      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense 17,028,000 3,497,000 1,023,000
General and administrative      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense $ 26,404,000 $ 4,318,000 $ 1,459,000
v3.20.4
Stockholders' Equity - Common Stock Warrant Liabilities (Details) - Common Class B - shares
3 Months Ended 12 Months Ended
May 21, 2019
Dec. 31, 2020
Dec. 31, 2020
Dec. 31, 2019
Class of Stock [Line Items]        
Number of shares converted (in shares) 53,600,000 0 144,635 224,102
Number of warrants outstanding (in shares)   0 0  
v3.20.4
Net Loss Per Share Attributable to Common Stockholders (Details) - $ / shares
Dec. 31, 2020
Oct. 12, 2020
Dec. 31, 2019
May 31, 2019
Class of Stock [Line Items]        
Common stock, par value (in dollars per share) $ 0.00002   $ 0.00002  
Common Class B        
Class of Stock [Line Items]        
Common stock, par value (in dollars per share)   $ 0.00002   $ 0.00002
Common Class A        
Class of Stock [Line Items]        
Common stock, par value (in dollars per share)   $ 0.00002   $ 0.00002
v3.20.4
Net Loss Per Share Attributable to Common Stockholders - Computation of EPS (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
May 26, 2020
May 21, 2019
Dec. 31, 2020
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Class of Stock [Line Items]            
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares)       103,552,000 68,350,000 24,376,000
Net loss per share attributable to common shareholders, basic and diluted (USD per share)       $ (0.93) $ (0.75) $ (1.27)
Common Class A            
Class of Stock [Line Items]            
Net loss attributable to common stockholders       $ (78,114) $ (12,084)  
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares)       84,319,000 16,022,000  
Net loss per share attributable to common shareholders, basic and diluted (USD per share)       $ (0.93) $ (0.75)  
Shares issued (in shares) 6,900,000 12,900,000        
Common Class B            
Class of Stock [Line Items]            
Net loss attributable to common stockholders       $ (17,818) $ (39,466) $ (30,935)
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares)       19,233,000 52,328,000 24,376,000
Net loss per share attributable to common shareholders, basic and diluted (USD per share)       $ (0.93) $ (0.75) $ (1.27)
Conversion of stock (in shares)   53,600,000 0 144,635 224,102  
v3.20.4
Net Loss Per Share Attributable to Common Stockholders - Antidilutive Securities (Details) - shares
shares in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 12,471 13,540
Stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 6,963 11,269
RSUs    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 4,520 1,641
Early exercised stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 91 200
Convertible common stock warrants    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 183
Restricted unreleased    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 784 0
Shares issuable pursuant to the ESPP    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 25 247
PSUs    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 88
v3.20.4
Income Taxes - Loss Before Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Income Tax Disclosure [Abstract]      
United States $ (86,842) $ (30,970) $ (20,644)
Foreign (20,570) (20,088) (10,291)
Loss before income tax expense (benefit) $ (107,412) $ (51,058) $ (30,750)
v3.20.4
Income Taxes - Income Tax Expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Current tax provision (benefit):      
Federal $ 0 $ 0 $ 0
State 420 106 81
Foreign 1,050 386 104
Deferred tax provision (benefit):      
Federal (10,631) 0 0
State (2,319) 0 0
Foreign 0 0 0
Income tax expense (benefit) $ (11,480) $ 492 $ 185
v3.20.4
Income Taxes - Effective Tax Rate Reconciliation (Details)
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Income Tax Disclosure [Abstract]      
Provision at federal statutory tax rate 21.00% 21.00% 21.00%
State taxes, net of federal tax impact 2.00% 0.00% 0.00%
Change in valuation allowance (35.00%) (12.00%) (11.00%)
Foreign tax rate differential (5.00%) (8.00%) (7.00%)
Acquisition related expenses (2.00%) 0.00% 0.00%
Stock-based compensation 30.00% 0.00% 0.00%
Other 0.00% (2.00%) (4.00%)
Effective tax rate 11.00% (1.00%) (1.00%)
v3.20.4
Income Taxes - Deferred Tax Assets and Liabilities (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Income Tax Disclosure [Abstract]    
Reserves and accruals $ 941 $ 1,839
Lease liability 17,481 0
Stock-based compensation 3,969 1,116
Net operating losses 109,281 30,750
Depreciation of property, plant and equipment 576 0
Amortization of intangible assets 0 642
Other 0 1,753
Deferred tax assets 132,248 36,100
Deferred Revenue (673) 0
Right-of-use Asset (16,160) 0
Depreciation of property, plant and equipment 0 (285)
Amortization of intangible assets (31,188) 0
State Taxes (4,319) (2,034)
Other (133) 0
Deferred tax liabilities (52,473) (2,319)
Valuation allowance (80,028) (33,781)
Net deferred tax (liabilities) assets $ (253) $ 0
v3.20.4
Income Taxes - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating Loss Carryforwards [Line Items]      
Income tax benefit $ 11,480 $ (492) $ (185)
Income tax benefit, gross 13,000    
Valuation allowance, increase (released) amount 46,200    
Unrecognized tax benefit that would impact income tax provision 3,000    
Payroll tax deferrals, CARES Act 3,400    
Signal Sciences Corp      
Operating Loss Carryforwards [Line Items]      
Tax benefit from release of valuation allowance 13,000    
Federal      
Operating Loss Carryforwards [Line Items]      
Operating loss carryforwards 395,900 106,000  
Tax credit carryforward 3,000    
State      
Operating Loss Carryforwards [Line Items]      
Operating loss carryforwards 316,500 $ 100,000  
Tax credit carryforward $ 1,000    
v3.20.4
Income Taxes - Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Unrecognized Tax Benefits:    
Balance at beginning of year $ 0 $ 0
Increases related to prior year tax positions 2,328 0
Increases related to current year tax positions 858 0
Balance at end of year $ 3,186 $ 0
v3.20.4
Information About Revenue and Geographic Areas (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2020
USD ($)
segment
Dec. 31, 2019
USD ($)
Segment Reporting [Abstract]    
Number of reportable segments | segment 1  
Revenues from External Customers and Long-Lived Assets [Line Items]    
Total long-lived assets $ 95,979 $ 60,037
United States    
Revenues from External Customers and Long-Lived Assets [Line Items]    
Total long-lived assets 65,054 40,747
All other countries    
Revenues from External Customers and Long-Lived Assets [Line Items]    
Total long-lived assets $ 30,925 $ 19,290
v3.20.4
Subsequent Events (Details)
12 Months Ended
Feb. 16, 2021
Jan. 28, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Feb. 26, 2021
USD ($)
Subsequent Event [Line Items]            
Finance leases     $ 22,541,000 $ 0 $ 0  
Subsequent Event            
Subsequent Event [Line Items]            
Finance leases   $ 2,000,000.0        
Lessee, finance lease, interest rate   4.89%        
Lessee, term of lease   3 years        
Subsequent Event | SVB Revolver            
Subsequent Event [Line Items]            
Debt facility, maximum borrowing amount           $ 100,000,000.0
Debt covenant, adjusted quick ratio, minimum requirement           1.25
Debt covenant, adjusted quick ratio, minimum threshold to trigger revenue growth covenant requirement           1.75
Subsequent Event | SVB Revolver | Minimum            
Subsequent Event [Line Items]            
Commitment fee percentage 0.20%          
Subsequent Event | SVB Revolver | Minimum | LIBOR            
Subsequent Event [Line Items]            
Basis spread on variable rate 1.75%          
Subsequent Event | SVB Revolver | Maximum            
Subsequent Event [Line Items]            
Commitment fee percentage 0.25%          
Subsequent Event | SVB Revolver | Maximum | LIBOR            
Subsequent Event [Line Items]            
Basis spread on variable rate 2.00%          
v3.20.4
Label Element Value
Restricted Cash, Current us-gaap_RestrictedCashCurrent $ 87,000
Restricted Cash, Current us-gaap_RestrictedCashCurrent 70,087,000
Restricted Cash, Current us-gaap_RestrictedCashCurrent $ 0